SQL injection in largest Electricity Board of Sri Lanka

1 week ago 36
BOOK THIS SPACE FOR AD
ARTICLE AD

coffinxp

InfoSec Write-ups

In this article I’ll describe how I found SQL injection vulnerabilities by bypassing WAFs with origin IP, IDOR, and information disclosure bugs.

SQL Injection is a technique used by attackers to take advantage of vulnerabilities in a website’s database. By inserting harmful SQL code into inputs such as forms or search fields, they can reach, modify, or even erase sensitive information. This vulnerability may result in unauthorized entry, data compromise, or complete server control, categorizing SQLi as one of the most significant and prevalent cybersecurity threats.

Story

One day, a subscriber reached out and asked if I could test for SQL injection vulnerabilities on their national Electricity Board website which was protected by Cloudflare WAF. As many of you know I often share techniques and methods for identifying SQL injection vulnerabilities so I decided to take on the challenge. So, let’s begin with how I discovered this!

I visited the website and used the Wappalyzer extension to check the site’s technology stack. The extension revealed that the site was built with PHP which as many of you know is often vulnerable to SQL injection…

Read Entire Article