CVE-2003-0442 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary scripts via the PHPSESSID parameter when transparent session ID support is enabled, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2003-0442?

CVE-2003-0442 is a medium-severity cross-site scripting vulnerability in Php Php, published on 20 Jun 2003. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the transparent SID support capability for PHP before 4.3.2 (session.use_trans_sid) allows remote attackers to insert arbitrary script via the PHPSESSID parameter.

Which versions are affected by CVE-2003-0442?

It affects 2 products.

Products include Php Php, Redhat Linux.

How do I fix CVE-2003-0442?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2003-0442 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2003-0442 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as DSA-351, GHSA-xx7m-rfgv-w2gg.

Is CVE-2003-0442 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free