User provided values trusted in sensitive actions
The zencart library trusted user-provided values in sensitive actions, allowing an open redirect and a CRLF injection on PHP versions up to 5.4.1. An attacker could redirect users to arbitrary sites or inject headers.
- Disclosed after 20 days
Summary by the program
In the Coinbase zencart open source library, a researcher observed two issues related to making calls based on user provided values. The reporter observed that these issues could allow a malicious user to perform an open redirect and a CRLF injection in any PHP version <=5.4.1. Unfortunately, Coinbase OSS libraries are out of scope of our bug bounty program, and researchers should directly submit an issue or pull request on the repository.
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 library passed user-controlled values into redirect and header functions without validation or encoding.
Impact
An attacker could perform an open redirect and a CRLF injection, though the program noted the library is out of scope for its bounty.
What the attacker needed
PHP version 5.4.1 or lower; user-supplied input reaches redirect or header
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.
Some code took input from the user and used it directly in a redirect or in HTTP headers without checking it. That let an attacker send victims to another website or sneak extra lines into the server's response. The report is thin and the program said the library was out of scope.
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.