Repository navigation
Don't confirm Apache CVEs from generic 500/401 pages - #45
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
CVE-2021-26691, CVE-2024-38475, and CVE-2019-0217 were probe-confirmed from Apache's default 500 page, a 500ing app, or a 401 body that merely mentioned "digest". Fusion then pinned them as un-droppable. These bugs are not HTTP-testable; drop the builtins and block AI re-invention. 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
An AI/full scan of Apache (banner-correlated high-CVSS CVE with a surviving builtin verifier plan) could persist fusion-confirmed, un-droppable findings from generic error pages that have nothing to do with the vulnerability.
Triggers:
GET /withSession: maliciousand treated HTTP 400/500 plus bodyInternal Server Erroras proof. Stock httpd ignores that header. Apache's default 500 page (PHP fatal, uncaught exception, misconfigured vhost) is enough. Fusion pins it.GET /?%7and confirmed on the same generic 500 (or a WAF 400/500 that says Internal Server Error).mod_auth_digestlocal privilege escalation): builtin sentAuthorization: Digestand confirmed on body substringdigest/WWW-Authenticate. A JSON 401{"error":"invalid digest"}or a 401 SPA bundle containingdigest()pinned an LPE as probe-confirmed.Root cause
These CVEs are not HTTP-testable. The builtins treated generic 400/401/500 bodies as exploit evidence.
run_verifieremitsprobe_confirmed=Trueon success; the fusion gate then pins the finding so the AI cannot drop it.Fix
Remove the three builtins. Add them to
_HTTP_UNTESTABLE_CVESsogenerate_plans_for_cvesandreverify_with_contextskip them (including AI re-invention), matching the CVE-2024-38476/38477 approach.Validation
python3 -m pytest test_verifier_sanitize.py -q— 21 passed (old HTTP checks still match the innocent 500/401 pages; planner no longer emits plans).python3 -m pytest test_*.py -q— 1755 passed, 5 skipped.python3 -m bandit -r src/verifier --severity-level high— no high issues.