Repository navigation
Don't confirm Shellshock CRITICAL from header reflection - #39
Draft
cursor[bot] wants to merge 1 commit into
Draft
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
probe_shellshock treated any response containing the injected User-Agent marker as CVE-2014-6271 RCE. Apache printenv and other CGIs that echo request headers produced a fusion-pinned CRITICAL without bash executing the payload. Confirm only the evaluated arithmetic token, which reflection cannot produce. Co-authored-by: dmitryflynn <dmitryflynn@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug and impact
probe_shellshockconfirmed CVE-2014-6271 CRITICAL (fusion-pinned, un-droppable) whenever the HTTP response contained the stringNETLOGIC_SHELLSHOCK_CONFIRMED.That marker was also sent in
User-Agent,Referer, andCookie. Any CGI that dumps the request environment — including Apache's stock/cgi-bin/printenv, which is one of the paths this probe hits — echoes the marker without bash executing anything. Fusion then pins it as confirmed RCE.Trigger: scan an HTTP host that has Apache
printenv(or any UA-reflecting error/debug page) on a standard web port. No vulnerable bash required.Root cause
Confirmation searched the raw response for a token that was present in the request headers. Reflection and execution were indistinguishable.
Fix
Inject
echo NETLOGIC_$((7*191*13))and confirm only the evaluated tokenNETLOGIC_17381, which header reflection cannot produce. A real bash CGI still emits the token (true positive even if it also dumps env).Validation
test_probers.py: 45 passed, including new cases for printenv-style reflection (no finding) and execution+env dump (still confirms).None; bash evaluates toNETLOGIC_17381; execution →CVE-2014-6271 CRITICALwith fusionpinned=True.