Root shell via tcpdump postrotation script injection
Published Jan 24, 2023 · Updated Apr 2, 2025
Privilege escalation in ASKEY RTF3505VW-N1 firmware BR_SV_g000_R3505VMN1001_s32_7 allows local users to obtain a root shell. The restricted CLI exposes tcpdump's -z postrotation hook, which invokes sh on a capture file whose packet bytes can contain ;/bin/bash. Access to the restricted SSH shell is required; successful exploitation opens a root BusyBox/ash console that can alter accounts and protected files.
Summary
What happened
Privilege escalation in ASKEY RTF3505VW-N1 firmware BR_SV_g000_R3505VMN1001_s32_7 allows local users to obtain a root shell. The restricted CLI exposes tcpdump's -z postrotation hook, which invokes sh on a capture file whose packet bytes can contain ;/bin/bash. Access to the restricted SSH shell is required; successful exploitation opens a root BusyBox/ash console that can alter accounts and protected files.
The record
- CVE
- CVE-2022-47040
- Published
- Jan 24, 2023
- Updated
- Apr 2, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-276, T1059.004, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 24, 2023CVE publishedPublication date reported by the CVE source.
- Apr 2, 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.
Weakness, pattern, technique
Public exploit references
- ASKEY RTF3505VW-N1 Privilege Escalationfunctional · 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