CVE-2004-0595
No CVSS score yet. EPSS 45% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 45% (unchanged from 45% a week ago; 45% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Red Hat: fixed package versions per release
- Patch: http://www.debian.org/security/2004/dsa-531
- Patch: http://www.securityfocus.com/bid/10724
- Vendor advisory: http://www.debian.org/security/2004/dsa-531
- Vendor advisory: http://www.securityfocus.com/bid/10724
Ask an AI about this CVE
Show the prompt
Explain CVE-2004-0595 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0595?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0595?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0595 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- avaya:converged_communications_server
- avaya:integrated_management
- avaya:s8300
- avaya:s8500
- avaya:s8700
- php:php
- redhat:fedora_core
- trustix:secure_linux
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| avaya:converged_communications_server | 2.0 |
| redhat:fedora_core | core_1.0 |
| redhat:fedora_core | core_2.0 |
| trustix:secure_linux | 1.5 |
| trustix:secure_linux | 2.0 |
| trustix:secure_linux | 2.1 |
| php:php | 4.0 |
| php:php | 4.0.1 |
| php:php | 4.0.2 |
| php:php | 4.0.3 |
| php:php | 4.0.4 |
| php:php | 4.0.5 |
| php:php | 4.0.6 |
| php:php | 4.0.7 |
| php:php | 4.1.0 |
| php:php | 4.1.1 |
| php:php | 4.1.2 |
| php:php | 4.2.0 |
| php:php | 4.2.1 |
| php:php | 4.2.2 |
| php:php | 4.2.3 |
| php:php | 4.3.0 |
| php:php | 4.3.1 |
| php:php | 4.3.2 |
| php:php | 4.3.3 |
| php:php | 4.3.5 |
| php:php | 4.3.6 |
| php:php | 4.3.7 |
| php:php | 5.0:rc1 |
| php:php | 5.0:rc2 |
| php:php | 5.0:rc3 |
| avaya:s8300 | r2.0.0 |
| avaya:s8300 | r2.0.1 |
| avaya:s8500 | r2.0.0 |
| avaya:s8500 | r2.0.1 |
| avaya:s8700 | r2.0.0 |
| avaya:s8700 | r2.0.1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.0 | php3 | 3:3.0.18-23.1woody2 | DSA-669-1 |
| Debian | 3.0 | php4 | 4.1.2-7 | DSA-531 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | php, php-imap, php-ldap and 5 more | 0:4.3.2-11.1.ent | RHSA-2004:392 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | php-0:4.3.2-11.1.ent | Fixed 2004-07-19 | RHSA-2004:392 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed 2004-07-19 | RHSA-2004:395 | |
| Red Hat Enterprise Linux ES version 2.1 | Fixed 2004-07-19 | RHSA-2004:395 | |
| Red Hat Enterprise Linux WS version 2.1 | Fixed 2004-07-19 | RHSA-2004:395 | |
| Red Hat Linux Advanced Workstation 2.1 | Fixed 2004-07-19 | RHSA-2004:395 | |
| Red Hat Stronghold 4 | Fixed 2004-07-23 | RHSA-2004:405 | |
| Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) | Fixed 2005-11-02 | RHSA-2005:816 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0595.
Public exploits
- Exploit-DB PHP 4.x/5.0 - 'Strip_Tags()' Function Bypass
References
- http://www.debian.org/security/2004/dsa-531
- http://www.securityfocus.com/bid/10724
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023909.html
- http://marc.info/?l=bugtraq&m=108981780109154&w=2
- http://marc.info/?l=bugtraq&m=108982983426031&w=2
- http://marc.info/?l=bugtraq&m=109051444105182&w=2
- http://marc.info/?l=bugtraq&m=109181600614477&w=2
- http://www.debian.org/security/2005/dsa-669
- http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml
- http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068
- http://www.novell.com/linux/security/advisories/2004_21_php4.html
- http://www.redhat.com/support/errata/RHSA-2004-392.html
- http://www.redhat.com/support/errata/RHSA-2004-395.html
- http://www.redhat.com/support/errata/RHSA-2004-405.html
- http://www.redhat.com/support/errata/RHSA-2005-816.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16692
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10619