FoF Pretty Mail Local File Inclusion Vulnerability

Vulnerability

A local file inclusion vulnerability has been identified in the FoF Pretty Mail extension for Flarum, specifically in version 1.1.2. This vulnerability allows administrative users to include arbitrary server files in email templates. By inserting file inclusion payloads into the template settings, attackers can read sensitive system files, such as /etc/passwd, during the email generation process.

Impact

Exploitation of this vulnerability could lead to unauthorized access to sensitive files on the server, potentially disclosing confidential information or system details.

Reproduction

To reproduce this vulnerability, log in as an administrator on a Flarum forum with the Pretty Mail extension installed. Navigate to the extension's settings and edit the default email template. Insert a file inclusion payload, such as a request to include '/etc/passwd', and save the changes. Trigger an email-sending action, such as user registration or password reset, to see the included file's contents in the email.

Added: Dec 11, 2025, 10:31 PM
Updated: Dec 11, 2025, 10:31 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.1
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.