Skip to content
Smuggling / CRLF Disclosed report Advanced CVE-2023-27522

Apache HTTP Server: mod_proxy_uwsgi HTTP response splitting (CVE-2023-27522)

Apache HTTP Server's mod_proxy_uwsgi module mishandled special characters in response headers from a uWSGI origin, allowing the response forwarded to the client to be truncated or split. An attacker controlling the origin could cause security-relevant headers to be folded into the response body so the client never interprets them.

nyxsorcerer Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 5 days
  • Paid in 5 days
  • Disclosed after 6 days

Summary by the program

HTTP Response Smuggling vulnerability in Apache HTTP Server via mod_proxy_uwsgi. This issue affects Apache HTTP Server: from 2.4.30 through 2.4.55.

Special characters in the origin response header can truncate/split the response forwarded to the client.

Acknowledgements: finder: Dimas Fariski Setyawan Putra (nyxsorcerer)

Security Advisory: https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2023-27522

The report

#Summary

HTTP Response Smuggling vulnerability in Apache HTTP Server via mod_proxy_uwsgi. This issue affects Apache HTTP Server: from 2.4.30 through 2.4.55. Special characters in the origin response header can truncate/split the response forwarded to the client.

https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2023-27522

Impact

The response headers can be truncated, resulting in some headers being incorporated into the response body. If the later headers have any security purpose, they will not be interpreted by the client.

The original report as published on HackerOne, by nyxsorcerer. 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

Impact

Response headers could be truncated so that some headers are incorporated into the response body, and any security-purpose headers among them would not be interpreted by the client.

What the attacker needed

Control over the uWSGI origin response; Apache 2.4.30 to 2.4.55 with mod_proxy_uwsgi

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.

When a web server sits in front of an application server, it copies the application's response back to the visitor. Here the front server (Apache) did not properly handle unusual characters in the headers the application sent back, so the response could be cut or split in the wrong place. That means headers meant to protect the visitor, such as security settings, could end up as ordinary page content and be ignored by the browser.

What is Smuggling / CRLF?

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Request smuggling and header injection

The lesson behind this report.

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.