Repository navigation
Don't confirm CVE-2021-39275 from a WordPress fonts stylesheet - #42
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
The builtin treated GET /%5c..win.ini 200 plus the substring "fonts" as proof of the ap_escape_quotes overflow. WordPress permalinks rewrite that path to index.php, and default themes put "fonts" in stylesheet ids, so fusion pinned a CRITICAL on ordinary Apache+WordPress hosts. 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.
The verifier builtin for CVE-2021-39275 sent
GET /%5c..%5c..%5c../windows/win.iniand treated HTTP 200 plus the substringfonts(orextensions) as proof of Apache'sap_escape_quotesheap overflow.That CVE is a memory-corruption bug, not a file read. On a typical Apache + WordPress host (Ubuntu 20.04's Apache 2.4.41 is in range), permalinks rewrite the path to
index.phpand default themes putfontsin stylesheet ids / Google Fonts links.run_testthen setsprobe_confirmed=Trueand fusion pins a CRITICAL.Fix
Validation
twenty-twenty-fonts-cssno longer produces a plan (builtin or AI), while the old plan still documents the false positive if it were sent.python3 -m pytest test_verifier_sanitize.py test_fusion.py test_fusion_engine_bridge.py test_hardening.py -q— 74 passed.