What Is SAP NetWeaver?
SAP NetWeaver is the enterprise application integration platform underlying SAP ERP, SAP S/4HANA, and the broader SAP ecosystem. The Java Application Server (AS JAVA) component runs SAP's web-based applications and management interfaces. SAP NetWeaver systems are deployed in virtually every Global 2000 enterprise, processing the most sensitive business data — financial records, HR information, supply chain data, and customer information.
SAP systems are high-value targets for nation-state actors and financially motivated attackers. SAP management consoles and diagnostic tools expose sensitive internal state (crash dumps, system logs, configuration files) that can reveal credentials, memory contents, and internal network topology when accessed without proper authorization controls.
Overview
CVE-2016-3976 is a directory traversal vulnerability in SAP NetWeaver Application Server Java that allows remote unauthenticated attackers to read arbitrary files from the server filesystem. The vulnerability exists in the CrashFileDownloadServlet, a diagnostic servlet that downloads crash dump files. The fileName parameter in HTTP requests to this servlet is not validated — attackers can supply ../ sequences to traverse outside the intended crash file directory and read any file accessible to the SAP application server process. SAP patched the vulnerability in Security Note 2256783 (April 2016). CISA added CVE-2016-3976 to the inaugural KEV catalog on November 3, 2021.
Affected Versions
| SAP NetWeaver AS JAVA | Status |
|---|---|
| SAP NetWeaver AS JAVA with vulnerable CrashFileDownloadServlet | Vulnerable |
| SAP NetWeaver AS JAVA with Security Note 2256783 applied | Fixed |
Consult SAP Security Note 2256783 and the SAP Support Portal for the specific support package stack and kernel patch level required for your installation.
Technical Details
Root Cause: Unsanitized Path Parameter in Diagnostic Servlet
CVE-2016-3976 is a path traversal vulnerability (CWE-22) in the CrashFileDownloadServlet, a SAP NetWeaver diagnostic component. The servlet is designed to allow administrators to download crash dump files generated by the SAP AS JAVA process. It accepts a fileName HTTP parameter specifying which file to serve, but fails to validate or sanitize the parameter for directory traversal sequences (../, ..\, %2e%2e%2f).
A crafted HTTP request:
GET /CrashFileDownloadServlet?fileName=../../../../../../etc/passwd HTTP/1.1
Host: sap-server:50000
causes the servlet to read the file at the traversed path (e.g., /etc/passwd) and return its contents in the HTTP response. No authentication is required.
High-Value File Targets on SAP Systems
SAP NetWeaver AS JAVA stores sensitive configuration and credential data in predictable locations. An attacker exploiting CVE-2016-3976 can target:
- SAP configuration files —
securestorage.key,j2ee/cluster/server*/cfg/, system properties containing database connection strings and passwords - SAP credential stores — the SAP J2EE secure storage contains encrypted credentials for SAP system users, RFC connections, and database accounts
- Application configuration —
web.xml, deployment descriptors, custom application configuration files with hardcoded credentials - OS credential files —
/etc/passwd,/etc/shadow(if permissions allow), SSH configuration, bash history - SAP log files — containing usernames, session tokens, internal error details, and system configuration information
No Authentication Required
The CrashFileDownloadServlet endpoint does not require authentication — it was accessible to unauthenticated HTTP requests in vulnerable configurations, enabling direct exploitation from the network without credentials.
Attack Characteristics
| Attribute | Detail |
|---|---|
| Attack Vector | Network — HTTP GET request with traversal in fileName parameter |
| Authentication | None required |
| Affected Endpoint | /CrashFileDownloadServlet |
| Vulnerable Parameter | fileName (path traversal via ../) |
| Data Exposed | Arbitrary files readable by SAP AS JAVA process |
| Primary Targets | SAP config/credential files, OS files, application secrets |
Discovery
Discovered and reported through SAP's security disclosure process; patched in SAP Security Note 2256783 in April 2016. CISA's inaugural KEV inclusion on November 3, 2021 reflected confirmed exploitation history against SAP systems.
Exploitation Context
- SAP-targeted attack campaigns: Research by Onapsis and other SAP security firms documented targeted exploitation of SAP path traversal and authentication bypass vulnerabilities by state-sponsored actors seeking industrial espionage; CVE-2016-3976's unauthenticated file read enables initial credential extraction without requiring a login
- Credential extraction for lateral movement: SAP configuration files contain credentials for database connections, SAP-to-SAP RFC connections, and S-user accounts; reading these via CVE-2016-3976 gives attackers credentials that can be used to authenticate directly to the SAP application or the backend database
- Chaining with SAP SQL injection: CVE-2016-3976 (file read) can be combined with CVE-2016-2386 (SQL injection) — the file read provides database credentials, which are then used to authenticate and execute SQL injection with privileged database access
- SAP internet exposure: Some SAP NetWeaver portal instances are intentionally internet-exposed for employee self-service or partner portal access; these directly exposed instances are the primary targets for CVE-2016-3976 exploitation
- Inaugural CISA KEV batch: Included in CISA's November 3, 2021 inaugural KEV batch, reflecting long-standing exploitation of SAP vulnerabilities in targeted attacks
Remediation
-
Apply SAP Security Note 2256783 — log in to SAP Support Portal (launchpad.support.sap.com) and apply Security Note 2256783, which patches the
CrashFileDownloadServletpath traversal vulnerability. Work with your SAP Basis team to apply the note in a change window. -
Apply all current SAP Security Notes — SAP releases security patches on the second Tuesday of each month (SAP Security Patch Day); run all high-priority security notes applicable to your NetWeaver version.
-
Restrict access to SAP diagnostic endpoints — firewall or ACL-restrict the SAP NetWeaver portal and management ports to authorized IP ranges; diagnostic servlets like
CrashFileDownloadServletshould not be accessible from the internet or general internal networks. -
Audit SAP service exposure — use SAP's ICM (Internet Communication Manager) configuration to review which servlets are externally accessible; disable diagnostic endpoints (
/CrashFileDownload,/GoToService,/nwa) for internet-facing SAP portals. -
Monitor SAP HTTP access logs — alert on HTTP requests to
CrashFileDownloadServletwith unusualfileNamevalues (especially those containing../,%2e,%2f, or absolute paths); active exploitation will produce anomalous log patterns. -
Use Onapsis Assess or SAP Configuration Validation — security tools purpose-built for SAP environments can scan for known vulnerable configurations and missing security notes across all SAP systems in the landscape.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2016-3976 |
| Vendor / Product | SAP — NetWeaver |
| NVD Published | 2016-04-07 |
| NVD Last Modified | 2025-10-22 |
| CVSS 3.1 Score | 7.5 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Severity | HIGH |
| CWE | CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') find similar ↗ |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2022-05-03 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2016-04-07 | CVE-2016-3976 published by NVD; SAP Security Note 2256783 releases patch for CrashFileDownloadServlet path traversal |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog (inaugural KEV batch) |
| 2022-05-03 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2016-3976 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| SAP Security Note 2256783 — Directory Traversal in CrashFileDownloadServlet | Vendor Advisory |