Cross-site Scripting (XSS) Affecting php-dba package, versions <0:5.1.6-24.el5_4.5


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
9.05% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE5-PHPDBA-2453726
  • published10 Apr 2022
  • disclosed21 Dec 2009

Introduced: 21 Dec 2009

CVE-2009-4142  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Oracle:5 php-dba to version 0:5.1.6-24.el5_4.5 or higher.
This issue was patched in ELSA-2010-0040.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-dba package and not the php-dba package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

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.

CVSS Scores

version 3.1