Skip to content

Proof of concept : CVE-2024-1071: WordPress Vulnerability Exploited

Notifications You must be signed in to change notification settings

gh-ost00/CVE-2024-1071-SQL-Injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Proof of concept CVE-2024-1071: WordPress Vulnerability Exploited

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

The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vulnerable to SQL Injection via the 'sorting' parameter in versions 2.1.3 to 2.8.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Banner

Finding Targets

To find potential targets, use Fofa (similar to Shodan.io):

  • FOFA Dork : body="/wp-content/plugins/ultimate-member"
  • Hunter : Hunter: body="/wp-content/plugins/ultimate-member"

Cloning the Repository

First, clone the repository:

- git clone https://github.com/fa-rrel/CVE-2024-1071-SQL-Injection.git
- cd CVE-2024-1071-SQL-Injection

Next chose your target and add it to urls.txt file in this format:

Run the Exploit:

python3 CVE-2024-1071.py -f urls.txt

Reference POC

About

Proof of concept : CVE-2024-1071: WordPress Vulnerability Exploited

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages