A stack-based buffer overflow exists in the SIP ALG function of Realtek eCos RSDK 1.5.7p1 and MSDK 4.9.4p1. The vulnerability is triggered when the ALG rewrites SDP data in SIP packets, allowing an attacker to send a specially crafted SIP packet with malicious SDP data that overflows a stack buffer. This can result in remote code execution without authentication.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository provides a comprehensive exploit toolkit for CVE-2022-27255, a buffer overflow in the Realtek eCos SDK SIP ALG implementation affecting numerous OEM routers. The structure includes: - `analysis/`: Scripts for automated firmware analysis and base address detection, leveraging Ghidra and binwalk to identify vulnerable firmware images. - `exploits_nexxt/`: Contains multiple exploit scripts and PoCs: - `exploit_custom_command_injector/`: A full exploit chain for the Nexxt Nebula 300 Plus router, including a MIPS binary payload (`main.c`/`code.bin`), a Python delivery script (`poc_telnet_custom_cmd.py`), and build/run scripts. This exploit achieves remote code execution by sending a crafted SIP INVITE message with a malicious SDP payload, then leverages a Telnet backdoor to upload and execute arbitrary code on the router. - `exploit_telnet_no_reboot.py` and `exploit_telnet_reboot.py`: Python exploits that deliver MIPS shellcode via the SIP buffer overflow, either providing a Telnet shell or rebooting the device. - `poc_crash.py`: A simple PoC to crash the SIP ALG process, demonstrating the vulnerability. - `ghidra_scripts/`: Ghidra scripts for identifying vulnerable function calls and confirming the presence of the CVE in firmware images. The main attack vector is network-based, exploiting the SIP ALG service (UDP port 5060) on the target router. The exploit scripts are operational and provide remote code execution, with the ability to gain a root shell via Telnet. The repository also includes tools for analyzing and confirming the vulnerability in firmware images, making it a complete toolkit for both exploitation and research.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.