Authenticated code execution via unchecked sprintf
Published May 31, 2023 · Updated Jan 10, 2025
Stack-based buffer overflow in TOTOLINK X5000R firmware allows remote authenticated users to execute arbitrary code. The addEffect handler passes attacker-controlled sPort or ePort data to sprintf without checking its length, overwriting the stack and enabling control-flow hijacking. A valid management session and addEffect set to 1 are required; the affected builds are 9.1.0u.6118_B20201102 and 9.1.0u.6369_B20230113.
Summary
What happened
Stack-based buffer overflow in TOTOLINK X5000R firmware allows remote authenticated users to execute arbitrary code. The addEffect handler passes attacker-controlled sPort or ePort data to sprintf without checking its length, overwriting the stack and enabling control-flow hijacking. A valid management session and addEffect set to 1 are required; the affected builds are 9.1.0u.6118_B20201102 and 9.1.0u.6369_B20230113.
The record
- CVE
- CVE-2023-33485
- Published
- May 31, 2023
- Updated
- Jan 10, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1068
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 31, 2023CVE publishedPublication date reported by the CVE source.
- Jan 10, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- TOTOLINK X5000R addEffect stack-overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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