CVE-2010-1938

Off-by-one error in the __opiereadrec function in readrec.c in libopie in OPIE 2.4.1-test1 and earlier, as used on FreeBSD 6.4 through 8.1-PRERELEASE and other…

published May 28, 2010

CVSS
—
EPSS
22%
Percentile
97.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky off-by-one error in OPIE could crash your server with just a long username! This vulnerability could allow remote attackers to trigger a denial of service or even execute arbitrary code! 🔥 Think of it like a restaurant that accommodates one too many guests—the extra diner tips the whole table over! In the same way, an overly long username throws OPIE’s handle into chaos, potentially causing the server to crash. An attacker could send a long USER command to the FreeBSD ftpd, leading to a denial of service that makes your daemon crash. In the worst-case scenario, this could escalate to arbitrary code execution, leaving your server wide open to exploitation! Yikes!

Put simply

Think of it like a restaurant that accommodates one too many guests—the extra diner tips the whole table over! In the same way, an overly long username throws OPIE’s handle into chaos, potentially causing the server to crash. This vulnerability results from an off-by-one error in the __opiereadrec function, allowing attackers to exploit the system by providing a long username that the function fails to handle properly.

What to do

An attacker could send a long USER command to the FreeBSD ftpd, leading to a denial of service that makes your daemon crash. In the worst-case scenario, this could escalate to arbitrary code execution, leaving your server wide open to exploitation! Yikes! To mitigate this issue, upgrade to OPIE versions later than 2.4.1-test1 and ensure your server configurations limit the username length. It's also a great idea to monitor logs for unusually long USER commands! You've got this! Fixing this vulnerability means your server will be back on its feet in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.21900 · 97.6th percentile
Published
2010-05-28T18:00Z
EPSS history
Timeline
  • 28 MAY 18:00Z
    Off-by-one error in the __opiereadrec function in readrec.c in libopie in OPIE 2.4.1-test1 and earlier, as used on FreeBSD 6.4 through 8.1-PRERELEASE and other…
    cvelistv5