
Explains how injection vulnerabilities enable attackers to dump data, download and upload files, read system files, and even execute shells on the Silverside.
Explore blind sql injection techniques by sending crafted queries and observing suppressed error messages to reveal database details. Determine the database name length and individual characters by analyzing page responses.
Explore how SQL injection uses unsanitized user inputs passed to the database as queries, enabling login bypass and even dropping tables.
Discover time-based SQL injection techniques that reveal database data by inducing deliberate delays with sleep functions and conditional statements, using benchmarks to measure response times and infer results.
Explore how union exploitation and the order by clause enable attackers to enumerate and extract data from vulnerable databases, including information schema queries and table/column discovery.
the lecture demonstrates union-based sql injection to enumerate columns, extract the database version and name, reveal information_schema tables and columns, and disclose usernames and passwords from the users table.
The lecture covers preventing SQL injection by validating and sanitizing user input, using prepared statements to separate data from code, and applying least privilege to database accounts.
Examine a sql injection login bypass demonstration, showing how crafted input can bypass authentication, reveal database results, and illustrate the vulnerabilities of a login form.
Explore how to defend against sql injection by sanitizing input, using prepared statements with bound parameters, and enforcing least-privilege database access with a read user.
Explore command injection, or arbitrary code execution, from malicious input in cookies, forms, or headers that trigger system or shell commands.
Explore command injection via a dns lookup feature. Craft inputs using pipes in a post request to execute shell commands and reveal information.
Demonstrates a command injection prevention approach by sanitizing user input and using an escape shell arguments function to neutralize dangerous commands, showing how the prevention mechanism blocks injected payloads.
Explore ex-MIL and ex-parte injections in XML and XPath, highlighting external entity attacks and the role of input validation and disabling external entity resolution.
Demonstrates an XPath injection attack by exploiting login credentials through an or 1=1 condition to bypass authentication and reveal the first user in the XML files used by login page.
Demonstrates a server-side input filtering approach to prevent ex-parte injection by removing special characters, validating user inputs, and verifying login functionality after applying the filter.
Explore how PHP code injection arises from improper input handling and lacking validation, risking confidentiality, integrity, and accessibility, and learn mitigations like input validation and input sanitization.
Explore a PHP code injection vulnerability by inspecting a vulnerable function that echoes user input, then demonstrates exploitation with netcat to establish a reverse shell.
Explore how to prevent php code injection by handling malicious user input and mitigating attackers' attempts. The lecture demonstrates identifying an injection attempt and achieving success in mitigating the attack.
Explore PHP object injection from unsanitized input and unserialize, exploiting magic methods like __construct and __destruct, risking defacement, data exposure, and credential theft; apply validation and secure sdlc.
Explore a PHP object injection demo that shows how serialized data and crafted payloads influence backend processing, cache, and file deletion, highlighting input handling flaws.
Explore the second demonstration of PHP object injection, demonstrating how object injection can be executed to access PHP data and reveal PHP functionality.
Learn to prevent PHP object injection by locating risky functions in header and PSP files, replacing them with safer forms, saving changes, and testing the mitigation.
Explore how SSI and SSA injection exploit directives in pages to reveal sensitive data or run commands via user input, with mitigations like disabling SSI and encoding input.
Explains an ssi injection demo that reveals an ip address, a first name, and a last name, tests various payloads, and demonstrates remote command execution via netcat.
Demonstrates mitigating SSI injection by filtering special characters from $first name and $last name using the SDMI special task function and validating that inputs are sanitized during testing.
Explore ldap injection risks caused by weak input sanitization, show how attackers modify statements, and outline mitigations like input validation, sanitization, regular expressions, and restricting directory access.
Explore HTML injection and cross-site scripting risks when input is not handled properly; learn encoding, input sanitization, and validation to prevent such attacks.
See an HTML injection demo in a basic blogging app. Attackers can craft a phishing page to capture a victim’s username and password during login.
Explore broken authentication and session management from the OWASP top 10, focusing on unique server-generated session IDs, logout invalidation, secure transmission, and proper password practices.
Explore an insecure session management example, where altering a value on a page locks or unlocks access, illustrating how broken authentication can lead to an exploit.
Secure the PHP flow by updating the session check to verify authorization and lock pages accordingly. Replace insecure checks with a robust session validation to demonstrate defense in practice.
Explore cross-site scripting (XSS), an injection that delivers malicious payloads into web pages. See how input validation and sanitization prevent reflected, stored, and other XSS methods.
Demonstrates reflected cross-site scripting by injecting a script into a reflected page, showing how browser-executed code steals cookies through social engineering in a crafted link.
Demonstrates a reflected cross-site scripting vulnerability via a get request by echoing user input such as first name and last name, and showing script injection, alerts, and cookie exposure.
Demonstrate a reflected XSS attack in a post form by entering first name and last name, inspecting the page, and injecting a script that alerts the cookie.
Understand stored cross-site scripting, where attackers store malicious scripts in a database that are displayed to users and executed in their browsers.
Explore a stored cross-site scripting demo on a blog post, showing how user input saved to a database is reflected on the page and can trigger a script alert.
This course teaches the programmers on how to exploit(hack) and defend against various attacks on PHP language. The course is designed around OWASP Top10 which is common standard which is used in design, architecture, testing of web applications.
The course contains video/audio lectures. It has Theory on PHP programming(Exploit, Defense) . It also has Demos of exploitation and Defense. It gives students practical insight into coding web application in PHP securely.
We recommend students to study the course over a period of 15 days and attempt the quiz at the end of the period. we also recommend students to study various resource material available on the internet in various forums including OWASP official website.
The course is structured according to OWASP Top 10 from A1 to A10. In each of the OWASP Top10 sessions we have categorized presentation, exploitation, defense.
Any programmer who is programming in PHP, should take this course. Secure PHP programmers are prefered by organisations across the globe.