CVE-2007-5381

Stack-based buffer overflow in the Line Printer Daemon (LPD) in Cisco IOS before 12.2(18)SXF11, 12.4(16a), and 12.4(2)T6 allow remote attackers to execute…

published October 12, 2007

CVSS
—
EPSS
15%
Percentile
96.6
In the wild
Unconfirmed
What it is

⚠️ A long hostname could turn your Line Printer Daemon (LPD) into a ticking time bomb! One simple, crafted input can lead to a stack-based buffer overflow — and we're not talking about your kitchen sink! Think of the LPD like a restaurant kitchen that can only handle a certain number of ingredients in a recipe. If a chef delivers an unreasonably large bag of flour, it could spill everywhere, causing chaos in the kitchen! An attacker can exploit this overflow to execute arbitrary code on the system, potentially gaining control over the device. This means a malicious actor could take over the printing services, compromising sensitive information or causing further disruptions.

Put simply

Think of the LPD like a restaurant kitchen that can only handle a certain number of ingredients in a recipe. If a chef delivers an unreasonably large bag of flour, it could spill everywhere, causing chaos in the kitchen! The vulnerability exists in Cisco IOS versions before 12.2(18)SXF11, 12.4(16a), and 12.4(2)T6, where a overly long hostname sent to the LPD can cause the stack to overflow, allowing an attacker to run malicious code.

What to do

An attacker can exploit this overflow to execute arbitrary code on the system, potentially gaining control over the device. This means a malicious actor could take over the printing services, compromising sensitive information or causing further disruptions. To protect your network, upgrade the Cisco IOS to at least version 12.2(18)SXF11, 12.4(16a), or 12.4(2)T6. Regularly review and validate input lengths to prevent similar vulnerabilities in the future. You've got this! Follow these steps and your system will be safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.14682 · 96.6th percentile
Published
2007-10-12T01:00Z
EPSS history
Timeline
  • 12 OCT 01:00Z
    Stack-based buffer overflow in the Line Printer Daemon (LPD) in Cisco IOS before 12.2(18)SXF11, 12.4(16a), and 12.4(2)T6 allow remote attackers to execute…
    cvelistv5