MoinMoin MOIN_ID Cookie userform Action Traversal Arbitrary File Overwrite

high Nessus Plugin ID 30055

Synopsis

The remote web server contains a Python application that suffers from an input sanitation vulnerability.

Description

The remote host is running MoinMoin, a wiki application written in Python.

The version of MoinMoin installed on the remote host fails to validate input to the 'MOIN_ID' cookie before using it to read and write user profiles. By providing the name of a file that exists on the remote host and is writable by the web server user id, an unauthenticated remote attacker may be able to exploit this issue to corrupt files, possibly even injecting arbitrary PHP code that could later be executed subject to the privileges of the web server user id.

Solution

Apply the patches referenced in the project's advisory above.

See Also

http://hg.moinmo.in/moin/1.5/rev/e69a16b6e630

Plugin Details

Severity: High

ID: 30055

File Name: moinmoin_cookie_id.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 1/24/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/a:moinmo:moinmoin

Required KB Items: www/moinmoin

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Reference Information

CVE: CVE-2008-0782

BID: 27404

CWE: 22

SECUNIA: 29010