SecurityContext

CVE-2023-30805: Sangfor NGAF - Command Injection

  • Cve: CVE-2023-30805
  • Name: Sangfor NGAF - Command Injection
  • Description: The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system command injection vulnerability. A remote and unauthenticated attacker can execute arbitrary commands by sending a crafted HTTP POST request to the /LogInOut.php endpoint. This is due to mishandling of shell meta-characters in the "un" parameter.
  • Impact: Remote attackers can execute arbitrary OS commands, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Sangfor NGAF or apply security patches addressing this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.64974
  • Epss percentile: 0.99261
  • Assignee: [email protected]
  • Published at: 2023-10-10T15:15:10Z
  • Age in days: 1141
  • Modified at: 2026-06-17T05:55:44Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-30805
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/nvd2023-10-10

References

Same in every row:

  • Source: nvd
UrlTags
https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/Exploit, Third Party Advisory
https://vulncheck.com/advisories/sangfor-ngaf-username-rceThird Party Advisory
https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4Product

Products

ProductAffectedPlatform boundSourcesUrl
sangfor:next-gen_application_firewall= 8.0.17nonvd/v1/products/sangfor/next-gen_application_firewall

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-10-10
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts