CVE-2009-4142

Publication date 21 December 2009

Last updated 24 July 2024


Ubuntu priority

The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character.

Status

Package Ubuntu Release Status
php5 9.10 karmic
Fixed 5.2.10.dfsg.1-2ubuntu6.4
9.04 jaunty
Fixed 5.2.6.dfsg.1-3ubuntu4.5
8.10 intrepid
Fixed 5.2.6-2ubuntu4.6
8.04 LTS hardy
Fixed 5.2.4-2ubuntu5.10
6.06 LTS dapper
Fixed 5.1.2-1ubuntu3.18

References

Related Ubuntu Security Notices (USN)

    • USN-882-1
    • PHP vulnerabilities
    • 13 January 2010

Other references