Skip to content
Path traversal Disclosed report Intermediate CVE-2021-26085CVE-2021-26086

Path Traversal CVE-2021-26086 CVE-2021-26085

Two path traversal vulnerabilities in Jira allow remote attackers to read restricted files, including web.xml. An attacker could view sensitive information.

kljunowsky Follow

Originally disclosed on HackerOne

  • Disclosed after 23 days

These vulnerabilities were found with https://trickest.com https://trickest.io

CVE-2021-26085:

https://jira.mariadb.org:/s/123cfx/_/;/WEB-INF/web.xml

CVE-2021-26086:

https://jira.mariadb.org/s/cfx/_/;/WEB-INF/web.xml

Video explanation:

Node EOF-RAW-DATA:

  • Found Jira hosts from various bug bounty programs convert to file

Node SED-ADD-AT-BEGINNING:

  • Append https:// to every line

Node PASTE-JIRA-PATHS

  • Converts Jira paths to file

Node MEG(tool)

  • Requesting URLs and paths from the file

Node IS-IT-JIRA?

  • Checking if the requested URL is Jira

Node TAKE-JIRA-URLs

  • Parsing previous nodes to get raw URLs

Node CVE-2021-26086

  • Converts payloads to a file

Node CVE-2021-26085

  • Converts payloads to a file

Node RECURSIVELY-CAT-ALL

  • Converts payloads file into one

Node MEG (2)

  • Requesting URLs and paths from the file

Node VALIDATE CVE-2021-26086

  • Validates CVEs by searching for "<web-app </web-app>" in meg responses

Impact

CVE-2021-26086 allows remote attackers to read particular files via a path traversal vulnerability in the /WEB-INF/web.xml endpoint CVE-2021-26085 allows remote attackers to view restricted resources via a Pre-Authorization Arbitrary File Read vulnerability in the /s/ endpoint.

Attachments

cve.mp4 From the original on HackerOne

The original report as published on HackerOne, by kljunowsky. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely insufficient input validation on the URL path, allowing directory traversal sequences to access files outside the intended directory.

Impact

An attacker could read restricted files, potentially exposing sensitive configuration data, but the text does not specify further consequences.

What the attacker needed

Target runs Jira

How it was found

  1. Find Jira hosts from bug bounty programs.
  2. Append https:// to each host.
  3. Generate Jira paths and request them using a tool.
  4. Check if the response indicates a Jira instance.
  5. Send crafted payloads for CVE-2021-26086 and CVE-2021-26085.
  6. Validate by searching for specific strings in the responses.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

These bugs let someone trick a web server into showing files it normally keeps private, like configuration files. The attacker changes the web address to include special characters that make the server look in the wrong folder. This can reveal sensitive information that helps in further attacks.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from MariaDB

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.