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

Goal: 1000 CNY ยท Raised: 1325 CNY

100%

CVE-2024-45440 โ€” AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

๐Ÿšจ **Essence**: Full Path Disclosure (FPD) in Drupal 11.x-dev. ๐Ÿ“‚ **Consequences**: Server file paths are leaked via `core/authorize.php`.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ› ๏ธ **Root Cause**: Improper error handling in `core/authorize.php`. ๐Ÿ“‰ **Flaw**: If `hash_salt` points to a non-existent file, `file_get_contents` fails and exposes the full path, even if error logging is disabled.โ€ฆ

Q3Who is affected? (Versions/Components)

๐ŸŽฏ **Affected**: Drupal Core. ๐Ÿ“ฆ **Version**: 11.x-dev (Development versions). ๐Ÿข **Vendor**: Drupal Community. โš ๏ธ **Note**: Primarily affects dev builds, but check if production uses unstable branches.

Q4What can hackers do? (Privileges/Data)

๐Ÿ•ต๏ธ **Action**: Hackers can read server directory structures. ๐Ÿ”“ **Privileges**: No code execution or data theft directly. ๐Ÿ“‚ **Data**: Only file paths are exposed. ๐Ÿงฉ **Goal**: Reconnaissance for subsequent exploits.

Q5Is exploitation threshold high? (Auth/Config)

๐Ÿ”“ **Threshold**: Low. ๐ŸŒ **Auth**: No authentication required. โš™๏ธ **Config**: Triggered by specific `hash_salt` configuration pointing to missing files. ๐Ÿš€ **Ease**: Simple HTTP request manipulation.

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

๐Ÿ’ป **Exploit**: Yes, public PoC exists. ๐Ÿ **Tool**: Python script available on GitHub (w0r1i0g1ht). ๐Ÿงช **Scanner**: Nuclei templates available (projectdiscovery). ๐ŸŒ **Status**: Active PoC, easy to reproduce.

Q7How to self-check? (Features/Scanning)

๐Ÿ” **Check**: Visit `http://<target>/core/authorize.php`. ๐Ÿ“ค **Observe**: Look for full path errors in response. ๐Ÿ› ๏ธ **Scan**: Use Nuclei template `CVE-2024-45440.yaml`. ๐Ÿ **Run**: Execute the provided Python PoC script.

Q8Is it fixed officially? (Patch/Mitigation)

๐Ÿ›ก๏ธ **Fix**: Update to patched version (if released). ๐Ÿ“ **Official**: Drupal issue tracker #345781 discusses this. โœ… **Status**: Check latest stable release notes for patch inclusion.

Q9What if no patch? (Workaround)

๐Ÿšง **Workaround**: Ensure `hash_salt` in `settings.php` points to an existing file. ๐Ÿ›‘ **Mitigation**: Disable `authorize.php` access if not needed.โ€ฆ

Q10Is it urgent? (Priority Suggestion)

โšก **Priority**: Medium. ๐Ÿ“‰ **Risk**: Information Disclosure only. ๐Ÿ›ก๏ธ **Urgency**: Fix if using dev versions. ๐Ÿ“… **Timeline**: Patch soon to prevent reconnaissance.โ€ฆ