जमा करें #1013200: diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Absolute Path Traversalजानकारी

शीर्षकdiem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Absolute Path Traversal
विवरणThe code editors in `dmFrontPlugin/modules/dmCodeEditor` and `dmAdminPlugin/lib/codeEditor` construct filesystem paths from attacker-controlled values without resolving `..` components. `dmOs::join()` removes duplicate slashes only, while `dmProject::isInProject()` uses a raw string-prefix test. Consequently, values such as `../../etc/hosts` produce a path that begins textually with the project root but resolves outside it when passed to `file_get_contents()` or `file_put_contents()`. A user with the `code_editor` credential can read files readable by the PHP account and overwrite existing files writable by that account outside the intended project directory.
स्रोत⚠️ https://github.com/diem-project/diem/issues/451
उपयोगकर्ता 100001001X (UID 100909)
सबमिशन04/10/2026 05:31 PM (15 दिन पहले)
संयम19/10/2026 07:14 AM (15 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि422243 [diem-project diem तक 5.1.3 dmCodeEditor actions.class.php dmOs::join निर्देशिका ट्रैवर्सल]
अंक20

Do you know our Splunk app?

Download it now for free!