Summary
CVE-2022-51029 is an unauthenticated path traversal vulnerability (CWE-22) in Synway SMG Gateway Management Software. A remote attacker can read arbitrary files from the gateway through the downfile parameter of /down.php. The CVE record carries a CVSS v4.0 score of 8.7 (High), and exploitation has been observed in the wild.
Technical details
- Root cause: Path traversal (CWE-22) in
/down.php. Thedownfileparameter is not restricted to an intended directory. - Trigger conditions: The attacker sends a multipart POST request to
/down.phpwith a traversal path indownfile. No authentication or user interaction is required. - Attack vector: Network. The attack is remote and low complexity.
- Impact: Disclosure of arbitrary files readable by the web server, for example
/etc/passwdand other sensitive configuration or credential files. The CVE record rates impact as high confidentiality, with no integrity or availability impact. - Exploitation status: The CVE record states that the Shadowserver Foundation first observed exploitation on October 20, 2023. Public detection templates and proof-of-concept documentation exist.
Affected software
- Synway SMG Gateway Management Software, builds through 2022-03-15.
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: I could not confirm a vendor advisory or fixed build in the sources reviewed. Contact Synway for a build later than 2022-03-15 and apply it if one is available.
- If no patch is available:
- Remove the management interface from direct internet exposure and restrict access to trusted networks or a VPN.
- Block or monitor requests to
/down.phpthat carry traversal sequences indownfile, for example with a WAF or reverse proxy rule. - Review web server logs for requests to
/down.php. If you find suspicious requests, rotate any credentials stored on the device.

