# CVE-2023-30805: Sangfor Next-Gen Application Firewall Login Un Param Command Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by VulnCheck) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 65.0%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-10T14:25:16.222Z
- Modified: 2026-06-17T05:55:44.157Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Sangfor Net-Gen Application Firewall: 8.0.17
- sangfor next-gen_application_firewall: 8.0.17

## Every score

- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/> (exploit, technical-description, third-party-advisory)
- <https://vulncheck.com/advisories/sangfor-ngaf-username-rce> (third-party-advisory)
- <https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4> (product)

## Sources

- CVE List: [CVE-2023-30805](https://www.cve.org/CVERecord?id=CVE-2023-30805), CVE Terms of Use, modified 2025-11-28
- NVD: [CVE-2023-30805](https://nvd.nist.gov/vuln/detail/CVE-2023-30805), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-30805 · Whole record: https://cve.day/CVE-2023-30805.json · Rebuilt by cve.day 2026-11-25T22:58:28.590Z
