CVE-2007-5898
What it is
The (1) htmlentities and (2) htmlspecialchars functions in PHP before 5.2.5 accept partial multibyte sequences, which has unknown impact and attack vectors, a different issue than CVE-2006-5465.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.8% in the next 30 days (EPSS).
- Severity: 6.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.8% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP ≤ 5.2.4
Attack profile CVSS 2.0 · 6.4
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-5898.md and follow it. Check whether this project is affected by CVE-2007-5898. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://secunia.com/advisories/27648
- http://secunia.com/advisories/27659
- http://secunia.com/advisories/27864
- http://secunia.com/advisories/28249
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/30040
- http://secunia.com/advisories/30828
- http://secunia.com/advisories/31119
- http://secunia.com/advisories/31124
- http://secunia.com/advisories/31200
- http://securitytracker.com/id?1018934
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
- http://www.debian.org/security/2008/dsa-1444
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:125
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:126
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
- http://www.php.net/ChangeLog-5.php#5.2.5
- http://www.php.net/releases/5_2_5.php
- http://www.redhat.com/support/errata/RHSA-2008-0505.html
- http://www.redhat.com/support/errata/RHSA-2008-0544.html
- http://www.redhat.com/support/errata/RHSA-2008-0545.html
- http://www.redhat.com/support/errata/RHSA-2008-0546.html
- http://www.redhat.com/support/errata/RHSA-2008-0582.html
- http://www.securityfocus.com/archive/1/491693/100/0/threaded