Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LearnPress SQLi module (CVE-2024-8522, CVE-2024-8529) #19482

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Chocapikk
Copy link
Contributor

Hello Metasploit Team,

I am submitting a new auxiliary module that exploits two unauthenticated SQL injection vulnerabilities in the LearnPress WordPress LMS Plugin (version <= 4.2.7). These vulnerabilities allow attackers to perform blind SQL injection via the c_only_fields and c_fields parameters.

Summary of changes:

  • Module location: auxiliary/scanner/http/wp_learnpress_c_fields_sqli
  • Vulnerabilities targeted:
  • Docker environment: Instructions are included for setting up a vulnerable WordPress instance with LearnPress using Docker. This setup allows for easy testing of the exploit.
  • Metasploit module: The module allows users to select between the two vulnerabilities (c_only_fields for CVE-2024-8522 and c_fields for CVE-2024-8529) and includes options such as specifying the number of rows to retrieve (COUNT).

Usage and Verification:

The module has been tested using a Docker environment running WordPress with LearnPress 4.2.7 installed. The setup instructions and verification steps are outlined in the documentation file.

Let me know if you need any further changes or if there are any issues during the review.

Co-authored-by: Julien Voisin <jvoisin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants