vendor:
Online Learning System
by:
Oguzhan Kara
9.8
CVSS
CRITICAL
SQL Injection
89
CWE
Product Name: Online Learning System
Affected Version From: 2
Affected Version To: 2
Patch Exists: NO
Related CWE:
CPE: 2
Platforms Tested: Kali Linux, Windows 10 - XAMPP
2021
Online Learning System 2.0 – ‘Multiple’ SQLi Authentication Bypass
Online Learning System v2.0 Login pages can be bypassed with a simple SQLi to the username/facultyID/studentID parameters. Steps To Reproduce: 1 - Go to one of the login portals 2 - Enter the payload to username field as 'bypass' or 1=1-- -' without double-quotes ('bypass' is can be anything in this scenario) and type anything you want to the password field. 3 - Click on 'Login' button and you are logged in as first user in database, which is admin user for admin portal.
Mitigation:
Input validation and sanitization should be done to prevent SQL injection attacks.