ID CVE-2014-9277
Summary The wfMangleFlashPolicy function in OutputHandler.php in MediaWiki before 1.19.22, 1.20.x through 1.22.x before 1.22.14, and 1.23.x before 1.23.7 allows remote attackers to conduct PHP object injection attacks via a crafted string containing <cross-domain-policy> in a PHP format request, which causes the string length to change when converting the request to <NOT-cross-domain-policy>.
References
Vulnerable Configurations
  • MediaWiki 1.19.21
    cpe:2.3:a:mediawiki:mediawiki:1.19.21
  • MediaWiki MediaWiki 1.20
    cpe:2.3:a:mediawiki:mediawiki:1.20
  • MediaWiki MediaWiki 1.20.1
    cpe:2.3:a:mediawiki:mediawiki:1.20.1
  • MediaWiki MediaWiki 1.20.2
    cpe:2.3:a:mediawiki:mediawiki:1.20.2
  • MediaWiki MediaWiki 1.20.3
    cpe:2.3:a:mediawiki:mediawiki:1.20.3
  • MediaWiki MediaWiki 1.20.4
    cpe:2.3:a:mediawiki:mediawiki:1.20.4
  • MediaWiki MediaWiki 1.20.5
    cpe:2.3:a:mediawiki:mediawiki:1.20.5
  • MediaWiki MediaWiki 1.20.6
    cpe:2.3:a:mediawiki:mediawiki:1.20.6
  • MediaWiki MediaWiki 1.20.7
    cpe:2.3:a:mediawiki:mediawiki:1.20.7
  • MediaWiki 1.20.8
    cpe:2.3:a:mediawiki:mediawiki:1.20.8
  • MediaWiki MediaWiki 1.21
    cpe:2.3:a:mediawiki:mediawiki:1.21
  • MediaWiki MediaWiki 1.21.1
    cpe:2.3:a:mediawiki:mediawiki:1.21.1
  • MediaWiki 1.21.10
    cpe:2.3:a:mediawiki:mediawiki:1.21.10
  • MediaWiki 1.21.11
    cpe:2.3:a:mediawiki:mediawiki:1.21.11
  • MediaWiki MediaWiki 1.21.2
    cpe:2.3:a:mediawiki:mediawiki:1.21.2
  • MediaWiki 1.21.3
    cpe:2.3:a:mediawiki:mediawiki:1.21.3
  • MediaWiki 1.21.4
    cpe:2.3:a:mediawiki:mediawiki:1.21.4
  • MediaWiki 1.21.5
    cpe:2.3:a:mediawiki:mediawiki:1.21.5
  • MediaWiki 1.21.6
    cpe:2.3:a:mediawiki:mediawiki:1.21.6
  • MediaWiki 1.21.7
    cpe:2.3:a:mediawiki:mediawiki:1.21.7
  • MediaWiki 1.21.8
    cpe:2.3:a:mediawiki:mediawiki:1.21.8
  • MediaWiki 1.21.9
    cpe:2.3:a:mediawiki:mediawiki:1.21.9
  • MediaWiki 1.22.13
    cpe:2.3:a:mediawiki:mediawiki:1.22.13
  • MediaWiki 1.22.12
    cpe:2.3:a:mediawiki:mediawiki:1.22.12
  • MediaWiki 1.22.11
    cpe:2.3:a:mediawiki:mediawiki:1.22.11
  • MediaWiki 1.22.10
    cpe:2.3:a:mediawiki:mediawiki:1.22.10
  • MediaWiki 1.22.8
    cpe:2.3:a:mediawiki:mediawiki:1.22.8
  • MediaWiki 1.22.7
    cpe:2.3:a:mediawiki:mediawiki:1.22.7
  • MediaWiki 1.22.6
    cpe:2.3:a:mediawiki:mediawiki:1.22.6
  • MediaWiki 1.22.5
    cpe:2.3:a:mediawiki:mediawiki:1.22.5
  • MediaWiki 1.22.4
    cpe:2.3:a:mediawiki:mediawiki:1.22.4
  • MediaWiki 1.22.3
    cpe:2.3:a:mediawiki:mediawiki:1.22.3
  • MediaWiki 1.22.2
    cpe:2.3:a:mediawiki:mediawiki:1.22.2
  • MediaWiki 1.22.1
    cpe:2.3:a:mediawiki:mediawiki:1.22.1
  • MediaWiki 1.22.0
    cpe:2.3:a:mediawiki:mediawiki:1.22.0
  • MediaWiki 1.23.0
    cpe:2.3:a:mediawiki:mediawiki:1.23.0
  • MediaWiki 1.23.1
    cpe:2.3:a:mediawiki:mediawiki:1.23.1
  • MediaWiki 1.23.2
    cpe:2.3:a:mediawiki:mediawiki:1.23.2
  • MediaWiki 1.23.3
    cpe:2.3:a:mediawiki:mediawiki:1.23.3
  • MediaWiki 1.23.4
    cpe:2.3:a:mediawiki:mediawiki:1.23.4
  • MediaWiki 1.23.5
    cpe:2.3:a:mediawiki:mediawiki:1.23.5
  • MediaWiki 1.23.6
    cpe:2.3:a:mediawiki:mediawiki:1.23.6
CVSS
Base: 7.5 (as of 06-01-2015 - 09:17)
Impact:
Exploitability:
CWE CWE-77
CAPEC
  • Cause Web Server Misclassification
    An attack of this type exploits a Web server's decision to take action based on filename or file extension. Because different file types are handled by different server processes, misclassification may force the Web server to take unexpected action, or expected actions in an unexpected sequence. This may cause the server to exhaust resources, supply debug or system data to the attacker, or bind an attacker to a remote process. This type of vulnerability has been found in many widely used servers including IIS, Lotus Domino, and Orion. The attacker's job in this case is straightforward, standard communication protocols and methods are used and are generally appended with malicious information at the tail end of an otherwise legitimate request. The attack payload varies, but it could be special characters like a period or simply appending a tag that has a special meaning for operations on the server side like .jsp for a java application server. The essence of this attack is that the attacker deceives the server into executing functionality based on the name of the request, i.e. login.jsp, not the contents.
  • LDAP Injection
    An attacker manipulates or crafts an LDAP query for the purpose of undermining the security of the target. Some applications use user input to create LDAP queries that are processed by an LDAP server. For example, a user might provide their username during authentication and the username might be inserted in an LDAP query during the authentication process. An attacker could use this input to inject additional commands into an LDAP query that could disclose sensitive information. For example, entering a * in the aforementioned query might return information about all users on the system. This attack is very similar to an SQL injection attack in that it manipulates a query to gather additional information or coerce a particular return value.
  • Command Delimiters
    An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or a blacklist input validation, as opposed to whitelist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or blacklist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Exploiting Multiple Input Interpretation Layers
    An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.
  • Argument Injection
    An attacker changes the behavior or state of a targeted application through injecting data or command syntax through the targets use of non-validated and non-filtered arguments of exposed services or methods.
  • Manipulating Writeable Configuration Files
    Generally these are manually edited files that are not in the preview of the system administrators, any ability on the attackers' behalf to modify these files, for example in a CVS repository, gives unauthorized access directly to the application, the same as authorized users.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3100.NASL
    description A flaw was discovered in mediawiki, a wiki engine: cross-domain-policy mangling allows an article editor to inject code into API consumers that deserialize PHP representations of the page from the API.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 79887
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79887
    title Debian DSA-3100-1 : mediawiki - security update
  • NASL family CGI abuses
    NASL id MEDIAWIKI_1_23_7.NASL
    description According to its version number, the MediaWiki application running on the remote host is affected by the following vulnerabilities : - An input validation error exists related to handling previews of wikitext that allows cross-site scripting attacks. (CVE-2014-9276) - An input validation error exists related to flash policy mangling, API clients, and 'format=php' that allows cross-site scripting. (CVE-2014-9277) - An error exists related to 'content model' editing that allows a remote, unprivileged attacker to modify a user's 'common.js' file. (Bug 70901) - An error exists related to deleting an entry. The 'DELETED_ACTION' and the action 'revdeleted' allows information disclosure via log files. (Bug 72222) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 80121
    published 2014-12-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80121
    title MediaWiki < 1.19.22 / 1.22.14 / 1.23.7 Multiple Vulnerabilities
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2014-241.NASL
    description Updated mediawiki packages fix security vulnerabilies : In MediaWiki before 1.23.7, a missing CSRF check could allow reflected XSS on wikis that allow raw HTML (CVE-2014-9276). MediaWiki's mangling, in MediaWiki before 1.23.7, could allow an article editor to inject code into API consumers that blindly unserialize PHP representations of the page from the API (CVE-2014-9277). This update provides MediaWiki 1.23.7, which fixes these security issues and other bugs.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 79986
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79986
    title Mandriva Linux Security Advisory : mediawiki (MDVSA-2014:241)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201502-04.NASL
    description The remote host is affected by the vulnerability described in GLSA-201502-04 (MediaWiki: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in MediaWiki. Please review the CVE identifiers and MediaWiki announcement referenced below for details. Impact : A remote attacker may be able to execute arbitrary code with the privileges of the process, create a Denial of Service condition, obtain sensitive information, bypass security restrictions, and inject arbitrary web script or HTML. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 81227
    published 2015-02-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81227
    title GLSA-201502-04 : MediaWiki: Multiple vulnerabilities
refmap via4
confirm https://phabricator.wikimedia.org/T73478
debian DSA-3100
mlist
  • [MediaWiki-announce] 20141127 MediaWiki Security and Maintenance Releases: 1.23.7, 1.22.14 and 1.19.22
  • [oss-security] 20141203 MediaWiki security release - 1.23.7
  • [oss-security] 20141204 Re: MediaWiki security release - 1.23.7
sectrack 1031301
Last major update 06-01-2015 - 11:46
Published 04-01-2015 - 16:59
Back to Top