जमा करें #1055163: osCommerce osCommerce V4 4.14.63493 Path Traversalजानकारी

शीर्षकosCommerce osCommerce V4 4.14.63493 Path Traversal
विवरणosCommerce V4 (version 4.14.63493) is affected by an unauthenticated arbitrary file read / path traversal vulnerability in the cached-image handler lib/frontend/controllers/ImageController.php (actionCached). The request-controlled "image" parameter (or the raw path info) is used to build a filesystem path with no containment check: the input sanitizer is commented out and only "+" is translated to a space; there is no ".." filtering, no realpath() canonicalization, and no extension allow-list. The code then calls is_file() on the images base path concatenated with the attacker value and, on match, Images::sendImageToBrowser(), which performs readfile() and emits the raw file bytes. By supplying a relative traversal path to the "image" parameter, an unauthenticated attacker can read arbitrary files readable by the web-server user (for example the platform configuration file containing database credentials), disclosing secrets and source code. CWE-22. Remediation: canonicalize the resolved path with realpath() and require it to remain within the images base directory, reject input containing "..", and restrict served files to an image extension allow-list. Credit: Agit Isik (IOVA LTD) Contact: [email protected]
स्रोत⚠️ https://gist.github.com/agtt/20d5de6698fb75656dd7e1c24e259c8f
उपयोगकर्ता
 agit (UID 102449)
सबमिशन24/10/2026 02:08 AM (1 महीना पहले)
संयम23/11/2026 04:29 AM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि442242 [osCommerce तक 4.14.63493 Cached Image ImageController.php actionCached image निर्देशिका ट्रैवर्सल]
अंक20

Interested in the pricing of exploits?

See the underground prices here!