CVE-2021-42192
published 2022-05-04CVE-2021-42192: Konga v0.14.9 is affected by an incorrect access control vulnerability where a specially crafted request can lead to privilege escalation.
PriorityP267high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
9.92%
95.0th percentile
Konga v0.14.9 is affected by an incorrect access control vulnerability where a specially crafted request can lead to privilege escalation.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| konga_project | konga | — | — |
Detection & IOCsextracted from sources · hover to see the quote
path/api/user/{{id}}
commandPUT /api/user/{{id}} with body {"admin": "true", "passports": {"password": "{{password}}", "protocol": "local"}, "token": "{{token}}", "password_confirmation": "{{password}}"}
- →Successful exploitation is confirmed when the response to the PUT /api/user/{id} request contains "admin":true (changed from "admin":false in the prior GET/POST response), indicating the privilege escalation succeeded.
- →Monitor for a sequence of 3 requests: POST /login (credential submission), POST /api/user/{id} (token retrieval), then PUT /api/user/{id} (admin flag set to true) — all returning HTTP 200 with Content-Type: application/json.
- ·The exploit requires valid (low-privilege) credentials to first authenticate via POST /login and obtain a session token before attempting privilege escalation — unauthenticated exploitation is not possible.
- ·The vulnerability is specific to KONGA version 0.14.9; other versions are not confirmed affected by the sources. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Nuclei
KONGA 0.14.9 - Privilege Escalation
nuclei·CVSS 8.8
CVE-2021-42192 [HIGH] KONGA 0.14.9 - Privilege Escalation
KONGA 0.14.9 - Privilege Escalation
KONGA 0.14.9 allows attackers to set higher privilege users to full administration access. The attack vector is a crafted condition, as demonstrated by the /api/user/{ID} at ADMIN parameter.
Template:
id: CVE-2021-42192
info:
name: KONGA 0.14.9 - Privilege Escalation
author: rschio
severity: high
description: KONGA 0.14.9 allows attackers to set higher privilege users to full administration access. The attack vector is a crafted condition, as demonstrated by the /api/user/{ID} at ADMIN parameter.
impact: |
Successful exploitation of this vulnerability could allow an attacker to escalate their privileges and gain unauthorized access to sensitive information or perform unauthorized actions.
remediation: |
Upgrade to a patched version of KONGA or apply
No writeups or analysis indexed.
https://docs.google.com/document/d/1-YU9zWiDVUps3Mb6zos3996yvZ48vW_vfOvaJLLHc4I/edit?usp=sharinghttps://github.com/pantsel/konga/https://github.com/pantsel/konga/commit/d61535277aced18b5be0313ab2d124f60f649978https://github.com/whokilleddb/Konga-Privilege-Escalation-Exploithttps://www.exploit-db.com/exploits/50521https://docs.google.com/document/d/1-YU9zWiDVUps3Mb6zos3996yvZ48vW_vfOvaJLLHc4I/edit?usp=sharinghttps://github.com/pantsel/konga/https://github.com/pantsel/konga/commit/d61535277aced18b5be0313ab2d124f60f649978https://github.com/whokilleddb/Konga-Privilege-Escalation-Exploithttps://www.exploit-db.com/exploits/50521
2022-05-04
Published