1. CVE archive
  2. 2013
  3. CVE-2013-6501

CVE-2013-6501

4.6 Medium severity CVSS v2.0 · source NVD AV:L/AC:L/Au:N/C:P/I:P/A:P 4.6 – Medium

Description

The default soap.wsdl_cache_dir setting in (1) php.ini-production and (2) php.ini-development in PHP through 5.6.7 specifies the /tmp directory, which makes it easier for local users to conduct WSDL injection attacks by creating a file under /tmp with a predictable filename that is used by the get_sdl function in ext/soap/php_sdl.c.

Affected products

VendorProductVersionPlatform
php php <= 5.6.7 –
suse linux enterprise server 11.0 sp3 –
suse linux enterprise server 11.0 sp3 –
All 757 Php vulnerabilities

Vulnerability type

CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
Many injection attacks involve the disclosure of important information -- in terms of both data sensitivity and usefulness in further exploitation.
Access Control Bypass Protection Mechanism
In some cases, injectable code controls authentication; this may lead to a remote vulnerability.
Other Alter Execution Logic
Injection attacks are characterized by the ability to significantly change the flow of a given process, and in some cases, to the execution of arbitrary code.
Integrity, Other Other
Data injection attacks lead to loss of data integrity in nearly all cases as the control-plane data injected is always incidental to data recall or writing.
Non-Repudiation Hide Activities
Often the actions performed by injected control code are unlogged.

How to prevent it

Requirements Programming languages and supporting technologies might be chosen which are not subject to these issues.
Implementation Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.

All 4,120 CWE-74 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org