CVE-2007-2711
NoneCVSS
—
EPSS
63.3%
Published
May 16, 2007
CISA due date
—
Cloudanix analysis
An old identification service can be tricked by a specially crafted network message into letting attackers run any commands they want on the affected computer.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack-based buffer overflow in the ident daemon allows remote attackers to overwrite the return address and execute arbitrary code by sending an excessively long string to TCP port 113.
Why it matters to the business
Compromise of any system still running this legacy ident service grants attackers full control, enabling data theft, lateral movement, or use as an attack foothold; the high EPSS score indicates active exploitation risk for unpatched or EOL deployments.
How an attack unfolds
An attacker connects to TCP port 113 on a vulnerable TinyIdentD instance and transmits a crafted payload exceeding the stack buffer, triggering overflow that redirects execution to attacker-supplied shellcode for remote code execution.
How to fix it
Remove or replace TinyIdentD with a maintained alternative; if the service is required, apply vendor patches or recompile with stack protections, and restrict access to port 113 via firewall rules.
How to confirm the fix worked
Verify the ident daemon is no longer listening on TCP 113 or test with a controlled long-string probe that no longer causes a crash or code execution; confirm service version is newer than 2.2 or the package has been removed.
Typical attack path
- Scan for or connect directly to TCP port 113
- Send a long malicious string exceeding the fixed stack buffer
- Overwrite the saved return address to redirect control flow
- Execute injected shellcode to gain remote access or deploy further payloads
How to detect it
Review firewall, IDS, and application logs for inbound connections to TCP 113 containing unusually long strings or repeated ident queries; look for process crashes or unexpected child processes spawned by the ident daemon shortly after such connections.
- TCP connections to port 113 with payloads exceeding 1024 bytes
- tinyidentd process crashes or segmentation faults logged near port-113 activity
- Unexpected shell or reverse-shell processes launched by the identd user
What your security team should do
- Immediately block inbound TCP 113 at network perimeters if the service is not explicitly required
- Inventory all hosts running tinyidentd or tinyirc and decommission or replace them
- Add port 113 buffer-overflow signatures to IDS/IPS rules and monitor for related alerts
The record
Stack-based buffer overflow in TinyIdentD 2.2 and earlier allows remote attackers to execute arbitrary code via a long string to TCP port 113.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|