Vulnerability Name: CRLF Injection on [Domain name]
Vulnerability Description: In a CRLF injection vulnerability attack the attacker inserts both the carriage return and linefeed characters into user input to trick the server, the web application or the user into thinking that an object is terminated and another one has started.
Steps to Reproduce:
Go to the [URL].
Intercept it with burpsuite.
Add the given payload in the Vulnerable [Parameter/Url]
Forward the request
You should see the custom content in response.
This is CRLF Injection.
Snapshots or video link attached.
Impact: The impact of CRLF injections vary and also include all the impacts of Cross-site Scripting to information disclosure. It can also deactivate certain security restrictions like XSS Filters and the Same Origin Policy in the victim's browsers, leaving them susceptible to malicious attacks.
Attack Scenario: [Create your own attack scenario according to the workflow of website]
Remediation: The best prevention technique is to not use users input directly inside response headers. If that is not possible, you should always use a function to encode the CRLF special characters. Another good web application security best practise is to update your programming language to a version that does not allow CR and LF to be injected inside functions that set HTTP headers.