Replies: 1 comment
-
For solution, #4563 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
Current Behavior
In raw http requests with option unsafe: true ampersand symbol ("&") disappears if it was placed in the end of URL.
GET /some_page/start.xml?=====& HTTP/1.1
transforms toGET /some_page/start.xml?====
in result request.Also, if there more than two ampersands in the end of the query: "GET /some_page/start.xml?=====&&&& HTTP/1.1", the request transforms into
GET /some_page/start.xml?=====&=&= HTTP/1.1
.POCs from https://cloud.projectdiscovery.io/templates:
Expected Behavior
Request shouldn't be transformed if option unsafe marked as true. Ampersand in the end of URL sometimes breaks logic of web-server and may be used as safecheck for CVEs in nuclei templates.
Steps To Reproduce
Send such requests with debug mode to reproduce the issue and look how they will be trasnformed:
Relevant log output
No response
Environment
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions