SB2020120862 - Multiple vulnerabilities in PHP
Published: December 8, 2020 Updated: June 13, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Input validation error (CVE-ID: CVE-2004-1018)
The vulnerability allows attackers to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can 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.
2) Input validation error (CVE-ID: CVE-2004-1020)
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary files in PHP applications that contain a directory traversal vulnerability in require or include statements, but are otherwise protected by the magic_quotes_gpc mechanism. 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.
Remediation
Install update from vendor's website.
References
- 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.osvdb.org/12411
- http://www.php.net/release_4_3_10.php
- 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://bugzilla.fedora.us/show_bug.cgi?id=2344
- 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://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml
- http://www.securityfocus.com/archive/1/384663
- http://www.securityfocus.com/bid/11981
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18516