Skip to content
Misconfiguration Disclosed report Beginner CVE-2003-1418

Confirmed Security Misconfigurations on curl.se (BREACH, Missing Security Headers, ETag Info Disclosure)

The report claims that curl.se uses deflate compression, lacks the X-Content-Type-Options header, and returns ETag values containing inode, size and modification time. An attacker could allegedly use these to recover sensitive tokens via a BREACH-style attack, enable MIME sniffing, and gather server details for reconnaissance.

mohmed_shoukry Follow

Originally disclosed on HackerOne

  • Disclosed after 14 hours

Summary:

During a security assessment of curl.se, multiple misconfigurations were identified that led to information disclosure or weakened the security posture of the website.

Affected version:

Website: https://curl.se Tested on: 09-09-2025 curl version: curl/8.8.0 (x86_64-pc-linux-gnu)

Steps To Reproduce:

  1. Run a scan with Nikto against https://curl.se
  2. Observe the following results:
    • The server sets "Content-Encoding: deflate" → indicates possible BREACH attack.
    • The header "X-Content-Type-Options: nosniff" is missing.
    • The server returns ETag values with inode/size/mtime.

Supporting Material/References:

Impact:

  • BREACH attack allowed disclosure of CSRF tokens, session IDs, and sensitive data through compression side-channel attacks.
  • Missing X-Content-Type-Options allowed MIME sniffing, increasing risk of XSS.
  • ETag values leaked server-side information (inode, size, mtime) useful for reconnaissance and cache-based attacks.

Overall, these misconfigurations reduced the security posture of the target application.

No AI tools were used in generating this report. All findings were confirmed manually using Nikto.

Impact

Summary:

The identified issues have been confirmed during testing:

  • BREACH attack confirmed: the server uses "deflate" compression, allowing practical exploitation to recover sensitive data such as session tokens and CSRF tokens from HTTPS responses.
  • Missing X-Content-Type-Options confirmed: this allows browsers to perform MIME-sniffing attacks, increasing the risk of XSS.
  • ETag values confirmed: inode, size, and modification time of server files were disclosed, leaking internal implementation details that can be used for reconnaissance or cache-based attacks.

Overall, these confirmed misconfigurations reduce the security posture of curl.se and create exploitable vectors for attackers.

The original report as published on HackerOne, by mohmed_shoukry. 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 the web server is configured with HTTP compression enabled, without the X-Content-Type-Options header, and with ETags that expose file metadata.

Impact

The report claims BREACH could disclose CSRF tokens and session IDs, missing nosniff could increase XSS risk through MIME sniffing, and ETags could leak server file details, but no working exploit is demonstrated.

What the attacker needed

Network access to curl.se; ability to run a scanner such as Nikto

How it was found

  1. Run a Nikto scan against the curl.se website.
  2. Review the scan output for compression, missing headers and ETag details.

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.

This report lists three weaknesses found by running an automated scanner against a website. Compression can sometimes leak secrets because the size of the compressed response changes depending on what is inside it, a missing header lets browsers guess file types in risky ways, and ETag values can reveal details about files on the server. The report does not show a working attack, only the scanner output.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from curl

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.