Skip to content
File upload Write-up Advanced

Magento <= 1.9.2 (catalogProductCreate) Autoloaded File Inclusion Vulnerability

The catalogProductCreate SOAP API in Magento 1.9.2 and earlier allows an attacker to include arbitrary local files through the product creation endpoint. This could lead to code execution or sensitive data disclosure depending on the files available on the server.

karmainsecurity.com

Published on karmainsecurity.com

The vulnerability is caused by the “catalogProductCreate” SOAP API implementation, which is defined into the /app/code/core/Mage/Catalog/Model/Product/Api/V2.php script:

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

SOAP API access; Magento 1.9.2 or earlier

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Magento is an online shop platform. Its SOAP API lets other programs create products. A flaw in that API lets an attacker make the server load files it should not, which can expose secrets or run harmful code.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.