Goal Reached Thanks to every supporter โ€” we hit 100%!

Goal: 1000 CNY ยท Raised: 1310 CNY

100%

CVE-2020-28949 โ€” AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

๐Ÿšจ **Essence**: A flaw in **Pear Archive_Tar** (PHP library). It handles tar/phar files. <br>โš ๏ธ **Consequence**: Attackers can overwrite arbitrary files on the server.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ›ก๏ธ **Root Cause**: Incomplete **filename sanitization**. <br>โŒ **Flaw**: The previous patch only targeted **phar** attacks. It failed to sanitize other **stream wrappers** (e.g., `file://`).โ€ฆ

Q3Who is affected? (Versions/Components)

๐Ÿ“ฆ **Affected**: **Pear Archive_Tar** library. <br>๐Ÿ“‰ **Version**: **1.4.10** and earlier. <br>๐ŸŒ **Context**: Used by **Drupal** and other PHP apps relying on PEAR. Check your PHP dependencies! ๐Ÿง

Q4What can hackers do? (Privileges/Data)

๐Ÿ’€ **Impact**: **File Overwrite**. <br>๐Ÿ”“ **Privileges**: Can overwrite existing files on the filesystem. <br>๐Ÿ“‚ **Data**: Potential for **Remote Code Execution (RCE)** if critical config/script files are overwritten.โ€ฆ

Q5Is exploitation threshold high? (Auth/Config)

โš–๏ธ **Threshold**: **Medium/High**. <br>๐Ÿ”‘ **Auth**: Usually requires the app to process a **user-uploaded tar/phar file**. <br>โš™๏ธ **Config**: Depends on how the application handles file uploads.โ€ฆ

Q6Is there a public Exp? (PoC/Wild Exploitation)

๐Ÿ“ข **Public Exp?**: **Yes/Indirect**. <br>๐Ÿ”— **References**: **Drupal SA-CORE-2020-013** confirms exploitation. <br>๐Ÿ› **Status**: Active patches exist for major platforms (Drupal, Fedora, Debian).โ€ฆ

Q7How to self-check? (Features/Scanning)

๐Ÿ” **Self-Check**: <br>1. Scan for **Archive_Tar** PHP library. <br>2. Check version **< 1.4.11**. <br>3. Look for **Drupal** sites using this component. <br>4.โ€ฆ

Q8Is it fixed officially? (Patch/Mitigation)

โœ… **Fixed?**: **Yes**. <br>๐Ÿฉน **Patch**: Update to **Archive_Tar > 1.4.10**. <br>๐Ÿ“ข **Advisories**: <br>- **Drupal**: SA-CORE-2020-013 <br>- **Debian**: DSA-4817 <br>- **Fedora**: Multiple updates. ๐Ÿฅ

Q9What if no patch? (Workaround)

๐Ÿšง **No Patch?**: <br>1. **Disable** tar/phar extraction features if possible. <br>2. **Validate** filenames strictly before passing to Archive_Tar. <br>3. **Restrict** `file://` stream wrapper permissions. <br>4.โ€ฆ

Q10Is it urgent? (Priority Suggestion)

๐Ÿ”ฅ **Urgency**: **HIGH**. <br>โณ **Priority**: Patch immediately. <br>๐Ÿ“‰ **Risk**: Active exploitation via Drupal and other PHP apps. The incomplete fix in v1.4.10 makes this critical for anyone still on old versions. ๐Ÿš€