CVE-2018-25386 HaPe PKH 1.1 SQL Injection via id Parameter in admin/media.php
Unauthenticated attackers can inject SQL via the id parameter in admin/media.php to extract sensitive database information from HaPe PKH.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-25386?
CVE-2018-25386 is a high-severity SQL injection vulnerability in Sitejo HaPe PKH, published on 29 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HaPe PKH 1.1 contains multiple SQL injection vulnerabilities in admin/media.php that allow attackers to manipulate database queries by injecting SQL code through the 'id' parameter. An unauthenticated attacker can exploit the desa module (module=desa&act=hapus), while authenticated users can exploit the pengurus, fasilitas, and kelompok modules (for example act=print, act=editpengurus, act=editfasilitas, and act=editkelompok). Successful exploitation allows extraction of sensitive database information including the current user, database name, and DBMS version.
Weakness: CWE-89
Which versions are affected by CVE-2018-25386?
How do I fix CVE-2018-25386?
No fix has been published for CVE-2018-25386 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2018-25386 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25386 exists.
Sources
Also known as GHSA-86v9-rw4q-v83j.