CVE-2006-1127 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via the X-Forwarded-For header when adding comments, requiring user interaction to execute.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2006-1127?

CVE-2006-1127 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Mar 2006. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in Gallery 2 up to 2.0.2 allows remote attackers to inject arbitrary web script or HTML via the X-Forwarded-For (X_FORWARDED_FOR) HTTP header, which is not properly handled when adding a comment to an album.

Which versions are affected by CVE-2006-1127?

It affects 1 product.

Products include Gallery Project Gallery.

How do I fix CVE-2006-1127?

No fix has been published for CVE-2006-1127 yet. Limit exposure of the affected software until one is available.

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-2006-1127 being exploited?

There is no known exploitation of CVE-2006-1127 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-ccx6-rq66-pr6m.

Is CVE-2006-1127 in your software?

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

Check your SBOMs for free