Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2024-58302cvecve-2024-58302cwe-98
Published: Thu Dec 11 2025 (12/11/2025, 21:40:09 UTC)
Source: CVE Database V5
Vendor/Project: Flarum
Product: 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

AILast updated: 04/07/2026, 22:54:53 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/9/2026, 8:52:11 PM

Views: 157

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses