id: CVE-2016-2388 info: name: SAP NetWeaver - Information Disclosure author: ritikchaddha severity: medium description: | The Universal Worklist / Java Workflow test WebDynpro applications in SAP NetWeaver AS Java 7.1 through 7.5 allow an unauthenticated attacker to obtain SAP user information via a crafted HTTP request (SAP Security Note 2256846). The ERPScan advisory (ERPSCAN-16-010) reproduces the issue by opening the JWFTestAddAssignees WebDynpro and using its Choose/Search user picker to list SAP users. The full application path, from the same researcher's anonymous WebDynpro URL list, is /webdynpro/dispatcher/sap.com/tc~eu~jwf~wdgp/com.sap.workflow.wdgp.general.test.JWFTestAddAssignees (short form /webdynpro/resources/sap.com/tc~eu~jwf~wdgp/JWFTestAddAssignees, matching the advisory's /sap.com/XXX/JWFTestAddAssignees placeholder). The researcher later also documented unauthenticated user enumeration via the Collaboration Chat/Messages WebDynpro apps under tc~rtc~coll.appl.rtc~wd_chat. CVE-2016-2388 is in the CISA Known Exploited Vulnerabilities catalog. This template only checks that those apps are reachable unauthenticated (WebDynpro body, not a logon page) and does not submit Choose/Search or extract the user list. impact: | An unauthenticated attacker can enumerate SAP NetWeaver user accounts, which can be used to plan further attacks against the system. remediation: | Apply SAP Security Note 2256846, or upgrade SAP NetWeaver AS Java to a fixed release. Restrict unauthenticated access to WebDynpro test and Collaboration applications. reference: - https://seclists.org/fulldisclosure/2016/May/55 - https://seclists.org/bugtraq/2016/May/95 - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-2388 - https://github.com/vah13/SAP_exploit - https://nvd.nist.gov/vuln/detail/CVE-2016-2388 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 cve-id: CVE-2016-2388 cwe-id: CWE-200 epss-score: 0.86274 epss-percentile: 0.99738 cpe: cpe:2.3:a:sap:netweaver_application_server_java:*:*:*:*:*:*:*:* metadata: max-request: 4 vendor: sap product: netweaver_application_server_java shodan-query: http.favicon.hash:-266008933 fofa-query: icon_hash="-266008933" tags: cve,cve2016,sap,netweaver,disclosure,kev,vkev http: - method: GET path: - "{{BaseURL}}/webdynpro/resources/sap.com/tc~eu~jwf~wdgp/JWFTestAddAssignees" - "{{BaseURL}}/webdynpro/dispatcher/sap.com/tc~eu~jwf~wdgp/com.sap.workflow.wdgp.general.test.JWFTestAddAssignees" - "{{BaseURL}}/webdynpro/resources/sap.com/tc~rtc~coll.appl.rtc~wd_chat/Chat" - "{{BaseURL}}/webdynpro/resources/sap.com/tc~rtc~coll.appl.rtc~wd_chat/Messages" stop-at-first-match: true matchers-condition: and matchers: - type: word part: body words: - "sap-wd-cltwndid" - type: word part: body words: - "JWFTestAddAssignees" - "wd_chat" - "Add Assignees" condition: or - type: word part: body words: - "sap-system-login" - "logon_preview" condition: or negative: true - type: status status: - 200 # digest: 490a00463044022019e4c0a60c4597bab7f95040e118a89a24a27e569c599136f79ab30a5cf01b3f02205348c2c428a7623a48ff3c16babd4968a52430cbe2b3b49d09920b77a32ad3a7:922c64590222798bb761d5b6d8e72950