Quantum Secular Labs / Blog / Advisories
CVE-2009-4025: Pear: Remote code execution
CVE-2009-4025 has a CVSS v2 base score of 10.0 (the maximum on that scale) and affects Pear. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
Argument injection vulnerability in the traceroute function in Traceroute.php in the Net_Traceroute package before 0.21.2 for PEAR allows remote attackers to execute arbitrary shell commands via the host parameter. NOTE: some of these details are obtained from third party information.
Severity breakdown
CVSS v2.0 10.0: AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access vector: Network. Exploitable remotely over the network.
- Access complexity: Low. No special conditions are required.
- Authentication: None. No authentication is needed.
- Confidentiality impact: Complete. Total information disclosure.
- Integrity impact: Complete. Total loss of integrity.
- Availability impact: Complete. Total shutdown of the component.
Underlying weakness
CWE-78: Improper Neutralization of Special Elements used in an OS Command
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Affected products
- Pear: up to and including 0.21.1; 0.11; 0.20; 0.21
References
- http://blog.pear.php.net/2009/11/14/net_traceroute-and-net_ping-security-advisory/
- http://pear.php.net/package/Net_Traceroute/download/0.21.2
- http://www.vupen.com/english/advisories/2009/3321
- http://pear.php.net/advisory20091114-01.txt
- http://osvdb.org/60515
- http://secunia.com/advisories/37497
- http://secunia.com/advisories/37503
- http://security.gentoo.org/glsa/glsa-200911-06.xml
- http://www.openwall.com/lists/oss-security/2009/11/23/8
- http://www.securityfocus.com/bid/37094
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54391
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg00998.html
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01007.html
- https://www.redhat.com/archives/fedora-package-announce/2009-November/msg01110.html