CVE-2002-1165 Security feature bypass in n/a

Medium 4.6 Published Updated

Attackers can bypass SMRSH restrictions in Sendmail to execute arbitrary commands if the restricted shell feature is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2002-1165?

CVE-2002-1165 is a medium-severity vulnerability in Netbsd Netbsd, published on 3 Oct 2002. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Sendmail Consortium's Restricted Shell (SMRSH) in Sendmail 8.12.6, 8.11.6-15, and possibly other versions after 8.11 from 5/19/1998, allows attackers to bypass the intended restrictions of smrsh by inserting additional commands after (1) "||" sequences or (2) "/" characters, which are not properly filtered or verified.

Which versions are affected by CVE-2002-1165?

It affects 2 products.

Products include Netbsd Netbsd, Sendmail Sendmail.

How do I fix CVE-2002-1165?

Upgrade to a fixed version.

Is CVE-2002-1165 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Netbsd Netbsd vulnerabilities

Sources

Also known as DEBIAN-CVE-2002-1165, GHSA-48jx-mwjr-89wq.

Is CVE-2002-1165 in your software?

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

Check your SBOMs for free