Lucene search
K

ACC PHP eMail 1.1 SQL Injection / Cross Site Scripting

🗓️ 13 Apr 2012 00:00:00Reported by the_stormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

ACC PHP eMail v1.1 Multiple Web Vulnerabilities. SQL Injection & XSS Ris

Code
`Title:  
======  
ACC PHP eMail v1.1 - Multiple Web Vulnerabilites  
  
  
Date:  
=====  
2012-04-13  
  
  
References:  
===========  
http://www.vulnerability-lab.com/get_content.php?id=505  
  
  
VL-ID:  
=====  
505  
  
  
Introduction:  
=============  
Acc PHP eMail is a email subscription and management script. Manage subscribers them and send newsletters.  
Acc PHP eMai is easy-to-use newsletter and mailing list manager with powerful personalization and customization features.  
  
No domain limit: You can use the script on unlimited number of domains.  
All-In-One Solution: Mailing List Manager, Email Subscription Manager  
Intellectual Core: Create your emails in HTML (WYSIWYG editor)  
Powerful back-end: Easy-to-work administration tool  
Search & Edit users based on email address  
Editable preferences for administration  
e-Mail address syntax checker  
Users can unsubscribe & subscribe at their will  
Subscribed conformation letters are emailed & customizable for each mailing list  
Import email address from another database  
  
(Copy of the Vendor Homepage: http://www.accscripts.com/mailinglist/)  
  
  
Abstract:  
=========  
A Vulnerability Laboratory Researcher Team discovered multiple Web Vulnerabilities in Acc PHP eMail v1.1.  
  
  
  
Report-Timeline:  
================  
2012-04-13: Public or Non-Public Disclosure  
  
  
Status:  
========  
Published  
  
  
Exploitation-Technique:  
=======================  
Remote  
  
  
Severity:  
=========  
Critical  
  
  
Details:  
========  
1.1  
A remote SQL Injection vulnerability is detected in Acc PHP eMail v1.1. The vulnerability allows an attacker (remote) or   
local low privileged user account to inject/execute own sql commands   
on the affected   
application dbms. Successful exploitation of the vulnerability results in dbms & application compromise.  
  
Vulnerable Module(s):  
[+] index.php?action=email_modify&conf=0&id=57[SQLi]  
  
  
1.2  
A persistent input validation vulnerabilities are detected in Acc PHP eMail v1.1 The bugs allow remote attackers to   
implement/inject malicious script code on the application side (persistent). Successful exploitation of the vulnerability can lead   
to session hijacking (manager/admin) or stable (persistent) context manipulation. Exploitation requires low user inter action.  
  
Vulnerable Module(s):  
[+] index.php?action=email_modify&conf=0&id=57 - inject code in the mail box  
  
  
  
Proof of Concept:  
=================  
The sql injection vulnerability can be exploited by remote attackers without required user inter action.  
The persistent vulnerability can be exploited by remote attackers with medium required user inter action.   
For demonstration or reproduce ...  
  
1.1  
http://www.xxx.com/mailinglist/demo/index.php?action=email_modify&conf=0&id=-57+union+select+version()--%20-&limit=0&order=id_user  
  
1.2  
The issue can be exploited by an insert on the Created Object function with script code as value.  
The result is the persistent execution out of the web application context.   
  
Strings:   
>"<<iframe src=http://vulnerability-lab.com/>37</iframe> ... or   
>"<script>alert(document.cookie)</script><div style="1  
  
  
Risk:  
=====  
1.1  
The security risk of the pre auth sql injection vulnerability is estimated as critical.  
  
1.2  
The security risk of the persisten input validation vulnerability is estimated as medium.  
  
  
Credits:  
========  
Vulnerability Research Laboratory - the_storm ([email protected])  
  
  
Disclaimer:  
===========  
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,   
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-  
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business   
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some   
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation   
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-  
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of   
other media, are reserved by Vulnerability-Lab or its suppliers.  
  
Copyright © 2012 Vulnerability-Lab  
  
  
  
  
--   
VULNERABILITY RESEARCH LABORATORY TEAM  
Website: www.vulnerability-lab.com  
Mail: [email protected]  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation