Skip to content
Vulnerability Intelligence

CVE-2023-30806

CriticalPublic exploit

The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system command injection vulnerability.

Published Oct 10, 2023 · Updated Nov 22, 2025

Key Facts

Patch immediately
  • CVE-2023-30806 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Next-Gen Application Firewall (Sangfor), Net-Gen Application Firewall.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 65% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

65%

Higher than 99.2% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2023-30806 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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 /cgi-bin/login.cgi endpoint. This is due to mishandling of shell meta-characters in the PHPSESSID cookie.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
Next-Gen Application FirewallSangforngaf8.0.17n/a
Net-Gen Application Firewall>= 8.0.17n/a

Timeline

  1. Publicly disclosed

    Oct 10, 2023

  2. Last updated

    Nov 22, 2025

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References

FAQ

Common Questions.

Is CVE-2023-30806 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo