Skip to content

Add Synway SMG Gateway 9-2radius.php RCE template#15661

Merged
DhiyaneshGeek merged 3 commits intoprojectdiscovery:mainfrom
whatyourname12345:main
Mar 30, 2026
Merged

Add Synway SMG Gateway 9-2radius.php RCE template#15661
DhiyaneshGeek merged 3 commits intoprojectdiscovery:mainfrom
whatyourname12345:main

Conversation

@whatyourname12345
Copy link
Copy Markdown
Contributor

PR Information

  • Added Synway SMG Gateway 9-2radius.php RCE template.
  • This is an unauthenticated Remote Command Execution vulnerability in the Synway SMG Gateway management interface.
  • References:
    • [(https://mp.weixin.qq.com/s/82YETZ6RygEsdWqM1OESmQ)]

Template validation

  • Validated with a host running a vulnerable version and/or configuration (True Positive)
  • Validated with a host running a patched version and/or configuration (avoid False Positive)

Additional Details (leave it blank if not applicable)

  • FOFA Query: title="三汇SMG网关"
  • The template has been successfully validated using the raw HTTP POST method against a real target (Target IP has been redacted for security).
  • nuclei -validate runs without errors.

@neo-by-projectdiscovery-dev
Copy link
Copy Markdown

neo-by-projectdiscovery-dev bot commented Mar 23, 2026

Neo - Nuclei Template Review

High: 1

Current PR state: 1 high active finding.

Highlights

  • High: Template ID still does not match filename in http/vulnerabilities/synway/synway-smg-9-2radius-rce.yaml:1
High (1)
  • Template ID still does not match filenamehttp/vulnerabilities/synway/synway-smg-9-2radius-rce.yaml:1
    The template ID remains 'sanhuiSMG-9-2radius-rce' but the filename is 'synway-smg-9-2radius-rce.yaml'. This was flagged in the initial review but has not been addressed. According to Nuclei template guidelines, the ID must exactly match the filename (without .yaml extension).
Hardening Notes
  • Regex matcher changed from root:[^:]*:0:0: to root:.*:0:0: - both patterns successfully match valid /etc/passwd root entries, though the greedy .* quantifier has different matching behavior than the negated character class [^:]*

Comment @pdneo help for available commands. · Open in Neo

@pussycat0x pussycat0x added the good first issue Good for newcomers label Mar 28, 2026
@pussycat0x pussycat0x added the Done Ready to merge label Mar 28, 2026
@DhiyaneshGeek DhiyaneshGeek merged commit 28f8326 into projectdiscovery:main Mar 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Done Ready to merge good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants