Lucene search
K

remote_bof_cfingerd.txt

🗓️ 21 Sep 1999 00:00:00Reported by Packet StormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Remote buffer overflow identified in cfingerd 1.3.2; Debian patched vulnerability.

Code
`Subject: cfingerd 1.3.2  
To: [email protected]   
  
  
Hi,  
  
  
there is a remote buffer over flow in cfingerd 1.3.2  
in search_fake():  
  
  
int search_fake(char *username)  
{  
char parsed[80];  
  
  
bzero(parsed, 80);  
sscanf(username, "%[^.].%*[^\r\n]\r\n", parsed);  
...  
  
  
  
called from process_username(), that is called from main:  
  
  
int main(int argc, char *argv[])  
{  
char username[100], syslog_str[200];  
...  
  
  
if (!emulated) {  
if (!fgets(username, sizeof(username), stdin)) {  
  
  
...  
/* Check the finger information coming in and return its type */  
un_type = process_username(username);  
  
  
  
see parsed[80] and username[100].  
Anyway search_illegal() is called before than search_fake()  
so only [A-z0-9] and many other char can be used in oreder to  
execute arbitrary code.  
  
  
Debian is not vulnerable because a patch fix this and other  
cfingerd weakness (i think it's an example of bad coding)  
but searching in bugtraq archive i haven't found anything.  
  
  
I take opportunity to inform that i'm developing a  
secure (i hope) finger daemon: mayfingerd. In order to  
make mayfingerd more portable i need some unprivileged  
account in hosts running *BSD, Solaris, AIX etc. Bugtraq  
readers can help me?  
  
  
I hope it will be released together with hping2 the  
next month.  
  
  
Sorry for my bad english forever :)  
  
  
have a good summer,  
antirez  
  
  
--  
Salvatore Sanfilippo antirez | [email protected] | [email protected]  
try hping: http://www.kyuzz.org/antirez [email protected]  
`

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