`Hi,
The Lantronix xPrintServer is a small Linux powered print server for iOS. Main configuration happens through a web interface.
The problem is that the configuration happens through some RPC interface; the web interfaces uses AJAX requests to talk to a CGI script that simply executes shell commands given to it. Take a look at the following screenshot:
http://i.imgur.com/gjbZhXZ.png
So.. thats not really so secure. Launching a request to http://myip/ips?OP=rpc&c=whoami&a=0 tells me that everything is running as root.
To make matters worse:
- The CGI script is accessible without needing to use credentials
- The devices uses bonjour that by defaults registers itself as xprintserver.local in the local network
- The device has no CSRF protection
Example code that allows any website to fetch the Linux version.
<script src="http://xprintserver.local/ips?OP=rpc&c=echo%20var%20version=%27%22%27%20$(uname%20-a)%27%22%27&a=0></script>
This vulnerability is not reported to the vendor yet (because I need to register talk to their support).
Greetings,
Jim
`
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