Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-30806: The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system command inje

72
This week
CRITICAL 9.8REMOTEDOWNGRADE

CVE-2023-30806 is a critical-severity flaw (CVSS 9.8) affecting next-gen application firewall. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance65.0% (top 1%)
CISA exploited listNo
WeaknessCWE-78
Published2023-10-10
Last modified2026-06-17
Publisher (CNA): VulnCheck · Vendor: sangfor

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

sangfor next-gen application firewall DOWNGRADE
Affected: ngaf8.0.17
Fixed in: no fixed release known
Safe to downgrade to: a release before ngaf8.0.17
1. Check installed version
apt-cache policy next-gen-application-firewall || rpm -q next-gen-application-firewall || next-gen-application-firewall --version
2. No fixed release: DOWNGRADE to a release before ngaf8.0.17 (Debian / Ubuntu)
apt-cache madison next-gen-application-firewall sudo apt install next-gen-application-firewall=<VERSION_BEFORE_ngaf8.0.17> sudo apt-mark hold next-gen-application-firewall
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list next-gen-application-firewall sudo dnf downgrade next-gen-application-firewall-<VERSION_BEFORE_ngaf8.0.17> sudo dnf versionlock add next-gen-application-firewall
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora ELN · libmamba · FIXED · 2.10.0-1.eln159 · FEDORA-2026-cc57be9e65 · source
sudo dnf upgrade --advisory=FEDORA-2026-cc57be9e65
Fedora 46 · rubygem-selenium-webdriver · FIXED · 4.34.0-5.fc46 · FEDORA-2026-111c6e6363 · source
sudo dnf upgrade --advisory=FEDORA-2026-111c6e6363

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-30806?

next-gen application firewall: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2023-30806 being exploited?

CVE-2023-30806 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-30806 affect?

CVE-2023-30806 affects next-gen application firewall. Severity is critical (CVSS 9.8). 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 t

How urgent is CVE-2023-30806?

Priority 72/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.