Lucene search
K

FoF Pretty Mail 1.1.2 Local File Inclusion

🗓️ 29 Mar 2024 00:00:00Reported by Chokri HammediType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 251 Views

FoF Pretty Mail 1.1.2 Extension Local File Inclusion vulnerability allows inclusion of sensitive files in email content, leading to info disclosur

Code
`Exploit Title: FoF Pretty Mail 1.1.2 Extension for Flarum Local File  
Inclusion (LFI)  
Date: 03/28/2024  
Exploit Author: Chokri Hammedi  
Vendor Homepage: https://flarum.org/  
Software Link: https://github.com/FriendsOfFlarum/pretty-mail  
Version: 1.1.2  
Tested on: Windows XP  
CVE: N/A  
Description:  
  
The FoF Pretty Mail extension for Flarum is vulnerable to Local File  
Inclusion (LFI) due to the unsafe handling of file paths in the email  
template. An attacker with administrative access can exploit this  
vulnerability to include sensitive files from the server's file system in  
the email content, potentially leading to information disclosure.  
  
Steps to Reproduce:  
  
Log in as an administrator on the Flarum forum.  
  
Navigate to the FoF Pretty Mail extension settings.  
  
Edit the email default template and insert the following payload at the end  
of the template:  
  
{{ include('/etc/passwd') }}  
  
Save the changes to the email template.  
  
Trigger any action that sends an email, such as user registration or  
password reset.  
  
The recipient of the email will see the contents of the included file (in  
this case, /etc/passwd) in the email content.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 Mar 2024 00:00Current
7.4High risk
Vulners AI Score7.4
251