DEV Community

Cover image for CVE-2024-9935 - PDF Generator Addon for Elementor Page Builder <= 1.7.5 - Unauthenticated Arbitrary File Download
Very Lazy Tech
Very Lazy Tech

Posted on

1 1 1 1 1

CVE-2024-9935 - PDF Generator Addon for Elementor Page Builder <= 1.7.5 - Unauthenticated Arbitrary File Download

Overview
The PDF Generator Addon for Elementor Page Builder plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.7.5 via the rtw_pgaepb_dwnld_pdf() function. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information.

Affected Devices
PDF Generator Addon for Elementor Page Builder <= 1.7.5
Affected Components
This plugin is designed to generate PDFs from Elementor pages within WordPress sites. The vulnerability arises from a path traversal flaw in the rtw_pgaepb_dwnld_pdf() function, which allows unauthenticated attackers to read arbitrary files on the server, potentially exposing sensitive information.

Read about it — CVE-2024-9935

Disclaimer: This Proof of Concept (POC) is made for educational and ethical testing purposes only. Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end user’s responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

Getting Started
Finding Targets
To find potential targets, use Fofa (similar to Shodan.io):

Fofa Dork: body="wp-content/plugins/pdf-generator-addon-for-elementor-page-builder/" && body="wp-content/themes/"

git clone https://github.com/verylazytech/CVE-2024-9935
Run the Exploit:

https://github.com/verylazytech/CVE-2024-9935

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay