appsec.fyi › SQL Injection

SQL Injection Resources

Page 5 of 5: resources 201–221 of 221, added Dec 2016 to Apr 2023.

The newest SQL Injection resources are on the SQL Injection page. For a reading order instead of a date order, see the SQL Injection learning path.

Date AddedLinkExcerpt
2023-04-02 2023How I Found Multiple SQL Injections in 5 Minutes in Bug Bounty intermediate Bug BountyHow I Found Multiple SQL Injections in 5 Minutes in Bug Bounty https://ift.tt/8yQVgw5
2022-11-03 2022SQL Injection in GraphQL intermediate 2 min readGraphQL SQL injection is demonstrated through an example involving a 403 error on a subdomain, leading to the discovery of a 500 error on the GraphQL endpoint. The technique leverages GraphQL's introspection system to reveal schema details and exploits a time-based SQL injection by inserting a `SLEEP(10)` function within a query's sorting parameter, observed via response time.
2022-04-11 2022Favorite tweet by @harshbothra_ beginnerFavorite tweet: 12 Free Practice Labs to Master SQL Injection ๐Ÿงต โ€” Harsh Bothra (@harshbothra_) Apr 11, 2022
2022-01-16 2022How I Found multiple SQL Injection with FFUF and Sqlmap in a few minutes intermediate 3 min read FuzzingSQL Injection vulnerabilities found using FFUF and Sqlmap, leveraging techniques to enumerate PHP endpoints, extract potential parameters via `waybackurls` and `grep`, and then brute-force them with FFUF using POST requests. Identified vulnerabilities in `searchProgressCommitment.php`, `ws_delComment.php`, `getTargets.php`, and `mailing_lists.php` by testing `commitment` and `id`, `id`, `goal`, and `list` parameters respectively.
2022-01-07 2022Advanced SQL Injection Cheatsheet advancedCheatsheet detailing advanced SQL injection techniques. It covers finding injection points, understanding website behavior, enumerating data, bypassing Web Application Firewalls (WAFs), and dumping databases. Methodologies include Error- or UNION-based, Boolean-based (content-based) Blind SQLi, and Time-based SQLi, along with stabilizing injections and bypassing whitespace filters. Privilege escalation and Local File Inclusion (LFI) are also addressed.
2021-11-13 2021Web Attack Cheat Sheet beginner 61 min read API Sec Bug Bounty XSSCheatsheet detailing web attack techniques and tools, covering discovery, enumeration, scanning, monitoring, and attack methods. It includes specific vulnerabilities such as SSRF, XXE, OAuth, DNS Rebinding, HTTP/SMTP Header Injection, Web Shell, Reverse Shell, SQLi, XSS, XPath Injection, Path Traversal, LFI, SSTI, Information Disclosure, and WebDAV. The resource also lists generic tools for reconnaissance and attack surface mapping, including those for identifying Cloudflare origin IPs and mapping CIDR ranges.
2021-10-04 202110 Types of Web Vulnerabilities that are Often Missed beginner 16 min read Bug Bounty IDORHTTP/2 smuggling, XXE via Office Open XML parsers, and SSRF via XSS in PDF generators are among the frequently overlooked web vulnerabilities discussed. HTTP/2 smuggling exploits differences in how frontend and backend servers parse requests. XXE can occur in applications that process Office Open XML files like `.docx`, `.pptx`, and `.xlsx`. SSRF is achievable through XSS in PDF generators that render HTML and JavaScript, potentially leading to the execution of code in headless browsers. The article suggests `http2smugl` as a tool for testing HTTP/2 smuggling. โ†’ labs.detectify.com
2021-04-16 2021DVWA 1.9+: Blind SQL Injection with SQLMap intermediate 3 min readDVWA 1.9+ Blind SQL Injection with SQLMap demonstrates exploiting blind SQL injection vulnerabilities in DVWA. This guide utilizes SQLMap, configured with OWASP ZAP for proxying, to identify and extract data, including user credentials, across low, medium, and high security settings. It details SQLMap command construction for GET and POST requests, cookies, and parameters to enumerate databases, tables, columns, and ultimately dump the `users` table.
2021-01-24 2021Exploiting Error Based SQL Injections & Bypassing Restrictions intermediateThe article discusses advancing attacks when encountering Error Based SQL Injections. It aims to provide insights on bypassing restrictions in such scenarios. The content likely includes strategies for exploiting vulnerabilities and overcoming limitations in SQL injection attacks.
2021-01-24 2021Exploiting second order blind SQL injection intermediate 6 min readSecond-order blind SQL injection is exploited by submitting malicious input to a web application that stores the data and later uses it in a database query. This technique, demonstrated in a HackerOne CTF challenge, involves first identifying the blind SQL injection vulnerability in the name parameter, which impacts the score page display. The process then requires enumerating table and column names, such as those in an 'admin' table, and finally extracting credentials like username and password through iterative character-based payload testing, including a case-sensitive substring comparison for accurate password retrieval.
2021-01-23 2021Website Penetration Testing and Database Hacking with Sqlmap - Secnhack intermediate 6 min readTutorial on website penetration testing and database hacking using the open-source tool sqlmap. This guide details how to detect and exploit SQL injection vulnerabilities, a critical flaw identified in the OWASP Top 10. It covers installation on various operating systems, upgrading the tool, and advanced techniques like using Google Dorks for reconnaissance to identify vulnerable parameters. The tutorial walks through commands to dump database names, tables, columns, and ultimately sensitive user credentials from compromised web applications.
2021-01-20 2021Identifying & Exploiting SQL Injection: Manual & Automated intermediateThe article discusses identifying and exploiting SQL Injection vulnerabilities in applications. It covers methods for recognizing these vulnerabilities and exploiting them. The content likely includes manual and automated approaches for detecting and taking advantage of SQL Injection weaknesses in software systems.
2019-11-17 2019Understanding the full potential of sqlmap during bug bounty hunting intermediate 7 min read Bug Bountysqlmap, a powerful open-source penetration testing tool, automates the detection and exploitation of SQL injection flaws, enabling users to take over database servers. Its capabilities extend to database fingerprinting, data fetching, accessing file systems, and executing OS commands via out-of-band connections. This application is particularly valuable for bug bounty hunters seeking to effectively identify and leverage SQL injection vulnerabilities, offering features for customizing requests, managing scope, and integrating with notifications for found exploits.
2019-10-05 2019SQL injection to RCE advanced RCEThe content discusses a case of SQL injection leading to Remote Code Execution (RCE) discovered during a recent customer penetration testing exercise. The author will detail the scenario in the following lines.
2018-07-29 2018Making a Blind SQL Injection a Little Less Blind intermediate 10 min readBlind SQL injection exploitation techniques are detailed, focusing on using `IF` statements to form binary queries. This method leverages the presence or absence of data to infer true/false outcomes, allowing for character-by-character information exfiltration. The article illustrates bypassing Web Application Firewalls (WAFs) with JSON escape sequences to successfully execute these binary queries.
2018-07-19 2018Comprehensive Guide to Sqlmap (Target Options) intermediateThe article discusses the "target commands" in sqlmap, a tool for SQL injection attacks. These commands are used to specify the target website or application for the attack. Understanding and utilizing these commands effectively is crucial for successful SQL injection testing.
2018-06-26 2018SQL Injection 101: Common Defense Methods Hackers Should Be Aware Of beginner 5 min readSQL injection defenses include user input escaping, which varies by database system, and whitelisting, which permits only explicitly allowed data. Prepared statements, using parameterized queries, offer the most robust protection by separating code and data. Employing the principle of least privilege for database accounts also minimizes potential damage from successful attacks.
2018-05-10 2018Barebones Application Security โ€” SQL Injection (SQLi) beginner 4 min readGuide to SQL Injection (SQLi) detailing how attackers can modify SQL queries using user input to drop tables or gain unauthorized access. It stresses prevention through parameterized queries, input validation, sanitization, and proper database user permissions, warning against string concatenation for query construction. The guide also touches on securing NoSQL databases and monitoring logs for suspicious patterns.
2018-01-11 2018SQL Injection Wiki beginnerSQL injection wiki provides a comprehensive resource for identifying, exploiting, and escalating SQL injection vulnerabilities across various Database Management Systems (DBMS). Organized in a logical escalation path, this wiki offers detailed information for users with a foundational understanding of SQL injection, serving as a central hub for in-depth knowledge and techniques.
2017-09-22 2017BSQLinjector โ€“ Blind SQL Injection Tool Download in Ruby intermediateBSQLinjector, a Ruby-based tool for Blind SQL Injection, facilitates data retrieval from SQL databases by posing true/false questions and analyzing application responses, a technique particularly useful against web applications that display generic errors instead of detailed database faults. The tool suggests using the "--test" switch to preview payloads before execution.
2016-12-28 2016SQL Attack (Constraint-based) - Dhaval Kapil advanced 4 min readConstraint-based SQL attacks exploit database behaviors like trailing whitespace trimming and length-limited insertions to bypass security checks and gain unauthorized access, as demonstrated against user registration and login mechanisms. This vulnerability, tested on MySQL and SQLite, can be mitigated by implementing `UNIQUE` constraints on relevant columns, prioritizing `id` as primary keys, and manually trimming input parameters to database-defined lengths.