CVE-2006-5262 Command injection in n/a

Medium 6.5 Published Updated

Authenticated users can inject CRLF sequences to execute arbitrary IMAP commands, potentially escalating privileges or executing code.

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

What is CVE-2006-5262?

CVE-2006-5262 is a medium-severity command injection vulnerability in n/a, published on 12 Oct 2006. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

CRLF injection vulnerability in lib/session.php in Hastymail 1.5 and earlier before 20061008 allows remote authenticated users to send arbitrary IMAP commands via a CRLF sequence in a mailbox name. NOTE: the attack crosses privilege boundaries if the IMAP server configuration prevents a user from establishing a direct IMAP session.

Which versions are affected by CVE-2006-5262?

It affects 1 product.

Products include Hastymail Hastymail.

How do I fix CVE-2006-5262?

No fix has been published for CVE-2006-5262 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-2006-5262 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-p8h5-3rhg-9c2x.

Is CVE-2006-5262 in your software?

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

Check your SBOMs for free