Root code execution via unchecked URI formatting
Published Apr 15, 2020 · Updated Oct 21, 2025
Stack-based buffer overflow in Cisco IP Phone firmware allows remote attackers to execute code as root or reload a phone via crafted HTTP. The /deviceconfig/setActivationCode handler in libHTTPService.so passes an unchecked parameter string to sprintf when constructing a URI, overflowing a stack buffer. The affected firmware is exposed only when web access is enabled, a setting disabled by default; successful exploitation grants root execution or forces a device reload.
Summary
What happened
Stack-based buffer overflow in Cisco IP Phone firmware allows remote attackers to execute code as root or reload a phone via crafted HTTP. The /deviceconfig/setActivationCode handler in libHTTPService.so passes an unchecked parameter string to sprintf when constructing a URI, overflowing a stack buffer. The affected firmware is exposed only when web access is enabled, a setting disabled by default; successful exploitation grants root execution or forces a device reload.
The record
- CVE
- CVE-2020-3161
- Published
- Apr 15, 2020
- Updated
- Oct 21, 2025
- Vendor
- Cisco
- Product
- Cisco IP Phone
- Classifications
- CWE-20, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 15, 2020CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Cisco IP Phone denial-of-service proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo