CVE-2023-7307: XXE injection in Sangfor Behavior Management System
CVE-2023-7307 is an XML external entity (XXE) injection vulnerability in Sangfor Behavior Management System, also known as DC Management System. Improper XML parser configuration permits unrestricted resolution of external entities in attacker-supplied XML. A remote unauthenticated attacker can potentially disclose internal files or perform server-side request forgery (SSRF), with additional impacts dependent on parser behavior. The product has been integrated into Sangfor's Internet Access Management (IAM) platform; the affected version range is undefined. The Shadowserver Foundation first observed exploitation evidence on September 6, 2023, UTC.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can potentially disclose internal files accessible to the XML parser and enable server-side request forgery. Additional impacts depend on the parser's behavior and are not specified.
Mitigation
If you can’t patch tonight, do this now.
Restrict or disable access to the /src/sangforindex endpoint from untrusted networks until a fix is applied. Place the management interface behind VPN or IP allowlisting, and require authentication where possible. At the application and platform level, disable outbound network access from the affected service to reduce SSRF impact, and limit filesystem permissions available to the service account to reduce file disclosure exposure. Web application firewall rules may help detect or block XML payloads containing DOCTYPE or ENTITY declarations, though this is only a compensating control and not a substitute for fixing parser configuration.
Remediation
Patch, then assume compromise.
Upgrade to a vendor-provided fixed release if available for the affected Sangfor product line or its IAM-integrated successor. Reconfigure the XML parser used by the /src/sangforindex endpoint to disable DTD processing and external entity resolution, including external general entities and external parameter entities. Use secure parser settings and libraries that prohibit fetching external resources during XML parsing. If the product has been subsumed into Sangfor IAM, review IAM versions and vendor guidance to identify corrected builds and remove or update any legacy vulnerable components.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2023-7307 exploited in the wild?
- Yes. As of Oct 9, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-7307?
- Yes. As of Oct 9, 2026, Mallory has reports of a public exploit for CVE-2023-7307.
- Is there a patch for CVE-2023-7307?
- Upgrade to a vendor-provided fixed release if available for the affected Sangfor product line or its IAM-integrated successor. Reconfigure the XML parser used by the /src/sangforindex endpoint to disable DTD processing and external entity resolution, including external general entities and external parameter entities.
- How severe is CVE-2023-7307?
- CVE-2023-7307 has a CVSS v4 score of 8.7 (High) and an EPSS score of 0.56% (47th percentile) as of Oct 9, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.