| 제목 | jeecgboot JeecgBoot JeecgBoot versions containing the vulnerable /sys/common/uploadImgByHttp implementation before vendor fix Server-Side Request Forgery |
|---|
| 설명 | An authenticated server-side request forgery vulnerability exists in JeecgBoot's remote image upload functionality.
The endpoint /sys/common/uploadImgByHttp accepts a user-controlled remote image URL. The application converts the remote URL into a multipart file by opening an outbound HTTP connection before the SSRF/file-type protection check is performed.
Source-level chain:
POST /sys/common/uploadImgByHttp
→ CommonController.uploadImgByHttp(@RequestBody JSONObject)
→ user-controlled remote URL
→ HttpFileToMultipartFileUtil.httpFileToMultipartFile(fileUrl, filename)
→ downloadImageData(fileUrl)
→ new URL(fileUrl)
→ HttpURLConnection.openConnection()
→ connection.setRequestMethod("GET")
→ server sends outbound request
→ SsrfFileTypeFilter.checkUploadFileType(...) runs afterward
Because the network request is sent before SSRF validation, an authenticated attacker can cause the server to request attacker-controlled URLs or internal HTTP services. This may allow internal network probing or access to services reachable from the JeecgBoot server, depending on the deployment environment.
The issue is caused by performing SSRF/file validation after the outbound request has already occurred. |
|---|
| 원천 | ⚠️ https://github.com/jeecgboot/jeecg-boot |
|---|
| 사용자 | feng123123 (UID 95215) |
|---|
| 제출 | 2026. 04. 26. AM 07:35 (1 월 ago) |
|---|
| 모더레이션 | 2026. 05. 23. PM 04:08 (27 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 347315 [JeecgBoot 3.9.0 uploadImgByHttp fileUrl 권한 상승] |
|---|
| 포인트들 | 0 |
|---|