CVE-2011-2504 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can gain privileges by placing malicious code in the current working directory when running x11perfcomp.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-2504?

CVE-2011-2504 is a medium-severity path traversal vulnerability in n/a, published on 8 Mar 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Untrusted search path vulnerability in x11perfcomp in XFree86 x11perf before 1.5.4 allows local users to gain privileges via unspecified Trojan horse code in the current working directory.

Which versions are affected by CVE-2011-2504?

It affects 1 product.

Linux distribution packages (22)
xorg-x11-apps Red Hat:enterprise_linux:6::clientAll versions0:7.6-6.el6
xorg-x11-apps-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:7.6-6.el6
xorg-x11-server-utils Red Hat:enterprise_linux:6::clientAll versions0:7.5-13.el6
xorg-x11-server-utils-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:7.5-13.el6
xorg-x11-utils Red Hat:enterprise_linux:6::clientAll versions0:7.5-6.el6
xorg-x11-utils-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:7.5-6.el6
xorg-x11-server-utils Red Hat:enterprise_linux:6::computenodeAll versions0:7.5-13.el6
xorg-x11-server-utils-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:7.5-13.el6
xorg-x11-utils Red Hat:enterprise_linux:6::computenodeAll versions0:7.5-6.el6
xorg-x11-utils-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:7.5-6.el6
xorg-x11-apps Red Hat:enterprise_linux:6::serverAll versions0:7.6-6.el6
xorg-x11-apps-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:7.6-6.el6
xorg-x11-server-utils Red Hat:enterprise_linux:6::serverAll versions0:7.5-13.el6
xorg-x11-server-utils-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:7.5-13.el6
xorg-x11-utils Red Hat:enterprise_linux:6::serverAll versions0:7.5-6.el6
xorg-x11-utils-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:7.5-6.el6
xorg-x11-apps Red Hat:enterprise_linux:6::workstationAll versions0:7.6-6.el6
xorg-x11-apps-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:7.6-6.el6
xorg-x11-server-utils Red Hat:enterprise_linux:6::workstationAll versions0:7.5-13.el6
xorg-x11-server-utils-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:7.5-13.el6
xorg-x11-utils Red Hat:enterprise_linux:6::workstationAll versions0:7.5-6.el6
xorg-x11-utils-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:7.5-6.el6

Products include Xfree86 X11perf.

How do I fix CVE-2011-2504?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2011-2504 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-2504, GHSA-3pfw-q65m-hvg6, RHSA-2013:0502.

Is CVE-2011-2504 in your software?

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

Check your SBOMs for free