You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please elaborate on the rationale for the additional bash wrapper?
@cldrn Is there a case for using the payload as a header name? It seems to me that doing so might result in HTTP 400 while the chance of executing is limited, especially since the payload contains a colon so whatever primitive parsing might try to accept the header is bound to trim or split the payload.
The example vulnerable application we used to write that script was vulnerable via header injection. I think at that time there were a couple of products affected by the injection via headers but i can't recall which ones.
Thank you for the quick response. I have run the VM and it appears not vulnerable when the payload is used as a header name. (It is vulnerable when the same payload is used as a value for a regular header.)
Considering this observed test, combined with my earlier rationale, do you see a reason why we should keep populating a header name with the payload?
@cldrn Have you had a chance to consider the proposal? I am going to remove the payload in the header name in a few weeks unless you wish to take over and handle this GitHub issue in whatever way you feel appropriate.
It makes sense to remove it if it does not work as expected. I thought we included there for a reason (that VM) but it could be that it never worked as intended so feel free to remove the payload from the header.
Activity
nnposter commentedon Jul 29, 2020
Could you please elaborate on the rationale for the additional bash wrapper?
@cldrn Is there a case for using the payload as a header name? It seems to me that doing so might result in HTTP 400 while the chance of executing is limited, especially since the payload contains a colon so whatever primitive parsing might try to accept the header is bound to trim or split the payload.
cldrn commentedon Jul 30, 2020
The example vulnerable application we used to write that script was vulnerable via header injection. I think at that time there were a couple of products affected by the injection via headers but i can't recall which ones.
The VM is still available here:
https://drive.google.com/file/d/0BzPR8exG0kt6eUtBZ1NjekRNblE/view?usp=sharing
nnposter commentedon Jul 31, 2020
Thank you for the quick response. I have run the VM and it appears not vulnerable when the payload is used as a header name. (It is vulnerable when the same payload is used as a value for a regular header.)
Considering this observed test, combined with my earlier rationale, do you see a reason why we should keep populating a header name with the payload?
nnposter commentedon Aug 22, 2020
@cldrn Have you had a chance to consider the proposal? I am going to remove the payload in the header name in a few weeks unless you wish to take over and handle this GitHub issue in whatever way you feel appropriate.
cldrn commentedon Aug 26, 2020
Hi,
It makes sense to remove it if it does not work as expected. I thought we included there for a reason (that VM) but it could be that it never worked as intended so feel free to remove the payload from the header.
nnposter commentedon Aug 30, 2020
The header name payload has been removed in r37990.
stef (#1)
Stop using Shellshock in header name. Fixes nmap#1983