Quantum Secular Labs / Blog / Advisories
CVE-2004-1018: PHP: Buffer overflow
CVE-2004-1018 has a CVSS v2 base score of 10.0 (the maximum on that scale) and affects PHP, along with 1 other product in NVD’s configuration data. 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
Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execute arbitrary code via (1) a negative offset value to the shmop_write function, (2) an "integer overflow/underflow" in the pack function, or (3) an "integer overflow/underflow" in the unpack function. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.
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.
Affected products
- PHP: before 4.3.10
- Canonical Ubuntu Linux: 4.10
References
- http://www.php.net/release_4_3_10.php
- http://marc.info/?l=bugtraq&m=110314318531298&w=2
- http://www.hardened-php.net/advisories/012004.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- http://www.redhat.com/support/errata/RHSA-2005-032.html
- http://www.redhat.com/support/errata/RHSA-2005-816.html
- http://www.securityfocus.com/advisories/9028
- http://www.securityfocus.com/archive/1/384920
- http://www.securityfocus.com/bid/12045
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18515
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949
- https://www.ubuntu.com/usn/usn-99-1/
- http://www.osvdb.org/12411