CVE-2004-0595
MEDIUM
6.8
CVSS 2.0
Description
The strip_tags function in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, does not filter null (\0) characters within tag names when restricting input to allowed tags, which allows dangerous tags to be processed by web browsers such as Internet Explorer and Safari, which ignore null characters and facilitate the exploitation of cross-site scripting (XSS) vulnerabilities.
Affected products and versions
- PHP versions 4.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.5, 4.3.6, 4.3.7, 5.0rc1, 5.0rc2, 5.0rc3
References
- distro.conectiva.com.br http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
- lists.grok.org.uk http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023909.html
- marc.info http://marc.info/?l=bugtraq&m=108981780109154&w=2
- marc.info http://marc.info/?l=bugtraq&m=108982983426031&w=2
- marc.info http://marc.info/?l=bugtraq&m=109051444105182&w=2
- marc.info http://marc.info/?l=bugtraq&m=109181600614477&w=2
- www.debian.org http://www.debian.org/security/2004/dsa-531 Patch, Vendor Advisory
- www.debian.org http://www.debian.org/security/2005/dsa-669
- www.gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml
- www.mandrakesecure.net http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068
- www.novell.com http://www.novell.com/linux/security/advisories/2004_21_php4.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2004-392.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2004-395.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2004-405.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2005-816.html
- www.securityfocus.com http://www.securityfocus.com/bid/10724 Exploit, Patch, Vendor Advisory
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/16692
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10619
- nvd.nist.gov Official NVD record