CVE-2010-0402 Code injection in n/a

Medium 6.5 Published Updated

Remote authenticated users can execute arbitrary code or cause denial of service in OpenTTD via crafted in-game commands due to improper index validation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2010-0402?

CVE-2010-0402 is a medium-severity code injection vulnerability in n/a, published on 4 May 2010. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenTTD before 1.0.1 does not properly validate index values of certain items, which allows remote authenticated users to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted in-game command.

Weakness: CWE-94

Which versions are affected by CVE-2010-0402?

It affects 1 product.

Products include Openttd Openttd.

How do I fix CVE-2010-0402?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2010-0402 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-0402, GHSA-m5pw-gjvh-jgrh.

Is CVE-2010-0402 in your software?

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

Check your SBOMs for free