CVE-2023-24040 Command injection in n/a

High 7.1 Published Updated

Local attackers can inject printer names to manipulate control flow and disclose memory contents in the Common Desktop Environment on Solaris.

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

What is CVE-2023-24040?

CVE-2023-24040 is a high-severity command injection vulnerability in n/a, published on 21 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

dtprintinfo in Common Desktop Environment 1.6 has a bug in the parser of lpstat (an invoked external command) during listing of the names of available printers. This allows low-privileged local users to inject arbitrary printer names via the $HOME/.printers file. This injection allows those users to manipulate the control flow and disclose memory contents on Solaris 10 systems. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Weakness: CWE-74

Which versions are affected by CVE-2023-24040?

It affects 1 product.

Products include Opengroup Common Desktop Environment.

How do I fix CVE-2023-24040?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-24040 being exploited?

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

Sources

Also known as GHSA-g29v-3m9r-f46w.

Is CVE-2023-24040 in your software?

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

Check your SBOMs for free