CVE-2024-58302: CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Flarum FriendsofFlarum Pretty Mail
FoF Pretty Mail 1.1.2 contains a local file inclusion vulnerability that allows administrative users to include arbitrary server files in email templates. Attackers can exploit the template settings by inserting file inclusion payloads to read sensitive system files like /etc/passwd during email generation.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2024-58302 affects FriendsofFlarum Pretty Mail 1.1.2, where administrative users can exploit improper control of filenames in PHP include/require statements (CWE-98). This flaw permits local file inclusion (LFI) during the processing of email templates, enabling attackers with admin privileges to read arbitrary files on the server, such as /etc/passwd. The vulnerability does not require user interaction and has a network attack vector, but requires high privileges (administrative). The CVSS 4.0 vector indicates high vulnerability confidence and no user interaction is needed. No patch or vendor advisory is currently available, and the product is not a cloud service.
Potential Impact
Successful exploitation allows an administrative user to read arbitrary files on the server through email template manipulation. This can lead to disclosure of sensitive system information, potentially aiding further attacks. The impact is limited to users with administrative privileges, and no remote unauthenticated exploitation is indicated. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative access to trusted users only and review email template configurations to avoid inclusion of untrusted input. Monitor vendor channels for updates or patches addressing this vulnerability.
CVE-2024-58302: CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Flarum FriendsofFlarum Pretty Mail
Description
FoF Pretty Mail 1.1.2 contains a local file inclusion vulnerability that allows administrative users to include arbitrary server files in email templates. Attackers can exploit the template settings by inserting file inclusion payloads to read sensitive system files like /etc/passwd during email generation.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2024-58302 affects FriendsofFlarum Pretty Mail 1.1.2, where administrative users can exploit improper control of filenames in PHP include/require statements (CWE-98). This flaw permits local file inclusion (LFI) during the processing of email templates, enabling attackers with admin privileges to read arbitrary files on the server, such as /etc/passwd. The vulnerability does not require user interaction and has a network attack vector, but requires high privileges (administrative). The CVSS 4.0 vector indicates high vulnerability confidence and no user interaction is needed. No patch or vendor advisory is currently available, and the product is not a cloud service.
Potential Impact
Successful exploitation allows an administrative user to read arbitrary files on the server through email template manipulation. This can lead to disclosure of sensitive system information, potentially aiding further attacks. The impact is limited to users with administrative privileges, and no remote unauthenticated exploitation is indicated. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative access to trusted users only and review email template configurations to avoid inclusion of untrusted input. Monitor vendor channels for updates or patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-12-11T00:58:28.457Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 693b3df322246175c6a4712f
Added to database: 12/11/2025, 9:56:03 PM
Last enriched: 4/7/2026, 10:54:53 PM
Last updated: 5/10/2026, 2:07:07 PM
Views: 158
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.