exploit the possibilities

NetArt Media Pharmacy System 2.0 XSS / SQL Injection

NetArt Media Pharmacy System 2.0 XSS / SQL Injection
Posted Jul 20, 2012
Authored by Antu Sanadi | Site secpod.com

NetArt Media Pharmacy System version 2.0 suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
MD5 | 85162722ac3dce8f4f9b99e298fd4fbb

NetArt Media Pharmacy System 2.0 XSS / SQL Injection

Change Mirror Download
##############################################################################
#
# Title : NetArt Media Pharmacy System SQL Injection and Cross-site
# Scripting Vulnerabilities
# Author : Antu Sanadi SecPod Technologies (www.secpod.com)
# Vendor : http://www.netartmedia.net/
# Advisory : http://secpod.org/blog/?p=513
# : http://secpod.org/advisories/SecPod_NetArt_Media_Pharmacy_System_SQLi_and_XSS_Vuln.txt
# Software : NetArt Media Pharmacy System Version 2.0
# Date : 29/06/2012
#
##############################################################################

SecPod ID: 1045 02/02/2012 Issue Discovered
19/06/2012 Vendor Notified
No Response from vendor
18/07/2012 Advisory Released

Class: SQL Injection/Cross-site Scripting Severity: High


Overview:
---------
NetArt Media Pharmacy System SQL Injection and Cross-site Scripting
Vulnerabilities.


Technical Description:
----------------------
SQL Injection and Cross-site Scripting Vulnerabilities are present in
NetArt Media Pharmacy System as it fails to sanitise user-supplied input.

i) Input passed via the 'search' parameter in 'index.php' is not properly
verified before using. This may allow an attacker to steal cookie-based
unauthenticated credentials and launch further attacks.

ii) Input passed via the 'Email' and 'Password' parameter in
'/pharma/ADMIN/loginaction.php' page is not properly verified before
being used in an SQL query. This can be exploited to manipulate SQL
queries by injecting arbitrary SQL code. This may allow an unauthenticated
attacker to launch further attacks.

These vulnerabilities have been tested on NetArt Media Pharmacy System v2.0,
Other versions may also be affected.


Impact:
--------
Successful exploitation could allow an attacker to execute arbitrary HTML
code in a user's browser session in the context of a vulnerable application
or to manipulate SQL queries by injecting arbitrary SQL code.


Affected Software:
------------------
NetArt Media Pharmacy System v2.0


Tested on,
NetArt Media Pharmacy System v2.0


References:
-----------
http://secpod.org/blog/?p=513
http://www.netartmedia.net/pharmacysystem
http://secpod.org/advisories/SecPod_NetArt_Media_Pharmacy_System_SQLi_and_XSS_Vuln.txt


Proof of Concept:
-----------------
POC1:
POST /pharma1/index.php HTTP/1.1

Host: SERVER_IP
User-Agent: XSS-TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 70

Post Data:
----------
mod=products&search=%3Cscript%3Ealert%28%27123%27%29%3B%3C%2Fscript%3E

POC2:

POST /pharma2/ADMIN/loginaction.php HTTP/1.1

Host: SERVER_IP
User-Agent:SQL-INJECTION
Content-Type: application/x-www-form-urlencoded
Content-Length: 32

Post Data:
----------
Email=%27&Password=%27&x=32&y=10

Solution:
---------
Fix not available


Risk Factor:
-------------
CVSS Score Report:
ACCESS_VECTOR = NETWORK
ACCESS_COMPLEXITY = LOW
AUTHENTICATION = NONE
CONFIDENTIALITY_IMPACT = PARTIAL
INTEGRITY_IMPACT = PARTIAL
AVAILABILITY_IMPACT = NONE
EXPLOITABILITY = PROOF_OF_CONCEPT
REMEDIATION_LEVEL = UNAVAILABLE
REPORT_CONFIDENCE = CONFIRMED
CVSS Base Score = 6.4 (High) (AV:N/AC:L/Au:N/C:N/I:P/A:N)

Credits:
--------
Antu Sanadi of SecPod Technologies has been credited with the discovery of this
vulnerabilities.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

September 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    1 Files
  • 2
    Sep 2nd
    38 Files
  • 3
    Sep 3rd
    30 Files
  • 4
    Sep 4th
    15 Files
  • 5
    Sep 5th
    12 Files
  • 6
    Sep 6th
    17 Files
  • 7
    Sep 7th
    3 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    24 Files
  • 10
    Sep 10th
    22 Files
  • 11
    Sep 11th
    22 Files
  • 12
    Sep 12th
    15 Files
  • 13
    Sep 13th
    5 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close