Exploit databaseDownload repository ZIP
GH-650a1d70c985cff821cc156134ffefa3
th-secforge/cve-2025-30208
Sources for CVE-2025-30208
23 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files11
th-secforge/cve-2025-30208Revision 20ba98a200ca
- .github/
- CVE-2025-30208.py
- LICENSE
- README.md
- SECURITY.md
- html_template.py
- payloads.py
- requirements.txt
- sensitive_files.py
- session.json
- start.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
html_template.py
Python · 20,053 bytes# CVE-2025-30208 Enhanced HTML Template
# Author: ThemeHackers
# Description: Hacker-style HTML template for data leak reports
def get_html_template(vuln_contents):
"""Returns the enhanced hacker-style HTML template with leak data"""
html_start = '''<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>🔥 CVE-2025-30208 - Vite Arbitrary File Read Exploit Report</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
:root {
--bg-primary: #0a0a0a;
--bg-secondary: #1a1a1a;
--bg-tertiary: #2a2a2a;
--text-primary: #00ff41;
--text-secondary: #00d4aa;
--text-muted: #666;
--accent-red: #ff0040;
--accent-orange: #ff6b35;
--accent-yellow: #ffd700;
--accent-green: #00ff41;
--accent-blue: #00d4ff;
--accent-purple: #bf00ff;
--border-color: #333;
--shadow-color: rgba(0, 255, 65, 0.1);
--glow-color: rgba(0, 255, 65, 0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--bg-primary);
color: var(--text-primary);
font-family: 'JetBrains Mono', monospace;
line-height: 1.6;
overflow-x: hidden;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 80%, rgba(0, 255, 65, 0.03) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(191, 0, 255, 0.02) 0%, transparent 50%);
pointer-events: none;
z-index: -1;
}
.matrix-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.02;
z-index: -2;
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
color: var(--text-primary);
overflow: hidden;
}
.matrix-bg::before {
content: '01';
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 200%;
animation: matrix-fall 20s linear infinite;
white-space: pre-wrap;
word-break: break-all;
}
@keyframes matrix-fall {
0% { transform: translateY(-100%); }
100% { transform: translateY(100%); }
}
.header {
background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
border-bottom: 2px solid var(--accent-red);
padding: 2rem 0;
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
text-align: center;
}
.title {
font-family: 'Orbitron', monospace;
font-size: 2.5rem;
font-weight: 800;
background: linear-gradient(45deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-blue), var(--accent-purple));
background-size: 400% 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradient-shift 3s ease-in-out infinite;
margin-bottom: 0.5rem;
text-shadow: 0 0 20px var(--glow-color);
}
@keyframes gradient-shift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
font-weight: 400;
margin-bottom: 1rem;
}
.stats-bar {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
margin-top: 1.5rem;
}
.stat-item {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 0.75rem 1.5rem;
text-align: center;
min-width: 120px;
transition: all 0.3s ease;
}
.stat-item:hover {
border-color: var(--accent-green);
box-shadow: 0 0 15px var(--shadow-color);
transform: translateY(-2px);
}
.stat-number {
font-size: 1.5rem;
font-weight: 700;
color: var(--accent-green);
display: block;
}
.stat-label {
font-size: 0.8rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1px;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
.leak-card {
background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
border: 1px solid var(--border-color);
border-radius: 12px;
margin: 2rem 0;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.leak-card:hover {
border-color: var(--accent-orange);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--shadow-color);
transform: translateY(-4px);
}
.leak-header {
background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-orange) 100%);
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border-color);
}
.leak-title {
font-family: 'Orbitron', monospace;
font-size: 1.2rem;
font-weight: 600;
color: #fff;
display: flex;
align-items: center;
gap: 0.5rem;
}
.leak-title::before {
content: '🔥';
font-size: 1.1rem;
}
.leak-url {
font-size: 0.9rem;
color: var(--text-secondary);
margin-top: 0.25rem;
word-break: break-all;
font-family: 'JetBrains Mono', monospace;
}
.leak-content {
padding: 1.5rem;
}
.content-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border-color);
}
.content-info {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.info-badge {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 0.25rem 0.75rem;
font-size: 0.8rem;
color: var(--text-secondary);
}
.copy-btn {
background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
border: none;
border-radius: 6px;
padding: 0.5rem 1rem;
color: #fff;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.copy-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.content-preview {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1rem;
position: relative;
max-height: 400px;
overflow-y: auto;
}
.content-preview::-webkit-scrollbar {
width: 8px;
}
.content-preview::-webkit-scrollbar-track {
background: var(--bg-secondary);
border-radius: 4px;
}
.content-preview::-webkit-scrollbar-thumb {
background: var(--accent-green);
border-radius: 4px;
}
.content-preview::-webkit-scrollbar-thumb:hover {
background: var(--accent-blue);
}
.content-text {
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-primary);
white-space: pre-wrap;
word-break: break-word;
}
.content-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 60px;
background: linear-gradient(transparent, var(--bg-primary));
pointer-events: none;
}
.footer {
text-align: center;
padding: 3rem 0;
color: var(--text-muted);
border-top: 1px solid var(--border-color);
margin-top: 4rem;
}
.footer-content {
max-width: 600px;
margin: 0 auto;
}
.footer-title {
font-family: 'Orbitron', monospace;
font-size: 1.5rem;
color: var(--text-secondary);
margin-bottom: 1rem;
}
.footer-text {
font-size: 0.9rem;
line-height: 1.6;
}
.footer-signature {
margin-top: 2rem;
padding: 1rem;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 8px;
font-family: 'Orbitron', monospace;
}
.signature-text {
color: var(--accent-green);
font-weight: 600;
}
.signature-github {
color: var(--accent-blue);
text-decoration: none;
transition: color 0.3s ease;
}
.signature-github:hover {
color: var(--accent-purple);
}
.floating-elements {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: -1;
}
.floating-element {
position: absolute;
color: var(--accent-green);
opacity: 0.1;
animation: float 6s ease-in-out infinite;
}
.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-element:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
@keyframes float {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(180deg); }
}
.alert-banner {
background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-orange) 100%);
color: #fff;
padding: 1rem 2rem;
text-align: center;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.8; }
}
.severity-high {
border-left: 6px solid var(--accent-red);
}
.severity-medium {
border-left: 6px solid var(--accent-orange);
}
.severity-low {
border-left: 6px solid var(--accent-yellow);
}
@media (max-width: 768px) {
.title {
font-size: 1.8rem;
}
.stats-bar {
gap: 1rem;
}
.stat-item {
min-width: 100px;
padding: 0.5rem 1rem;
}
.container {
padding: 1rem;
}
.leak-header {
padding: 0.75rem 1rem;
}
.leak-content {
padding: 1rem;
}
.content-header {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
}
@media (max-width: 480px) {
.title {
font-size: 1.5rem;
}
.subtitle {
font-size: 1rem;
}
.stats-bar {
flex-direction: column;
align-items: center;
}
.stat-item {
width: 100%;
max-width: 200px;
}
}
</style>
</head>
<body>
<div class="matrix-bg"></div>
<div class="floating-elements">
<div class="floating-element">⚡</div>
<div class="floating-element">🔒</div>
<div class="floating-element">💻</div>
<div class="floating-element">🛡️</div>
</div>
<div class="alert-banner">
⚠️ CRITICAL SECURITY VULNERABILITY DETECTED ⚠️
</div>
<header class="header">
<div class="header-content">
<h1 class="title">CVE-2025-30208</h1>
<p class="subtitle">Vite Arbitrary File Read Vulnerability Exploit Report</p>
<div class="stats-bar">
<div class="stat-item">
<span class="stat-number" id="total-leaks">''' + str(len(vuln_contents)) + '''</span>
<span class="stat-label">Total Leaks</span>
</div>
<div class="stat-item">
<span class="stat-number" id="total-bytes">''' + str(sum(len(content) for _, content in vuln_contents)) + '''</span>
<span class="stat-label">Bytes Exposed</span>
</div>
<div class="stat-item">
<span class="stat-number" id="severity-level">HIGH</span>
<span class="stat-label">Severity</span>
</div>
<div class="stat-item">
<span class="stat-number" id="exploit-status">SUCCESS</span>
<span class="stat-label">Status</span>
</div>
</div>
</div>
</header>
<div class="container">
<div id="leak-content">'''
# Generate leak cards
leak_cards = ""
for idx, (url, content) in enumerate(vuln_contents, 1):
content_size = len(content)
leak_cards += f'''
<div class="leak-card severity-high">
<div class="leak-header">
<div class="leak-title">Data Leak #{idx}</div>
<div class="leak-url">{url}</div>
</div>
<div class="leak-content">
<div class="content-header">
<div class="content-info">
<div class="info-badge">Size: {content_size:,} bytes</div>
<div class="info-badge">Lines: {content.count(chr(10)) + 1}</div>
<div class="info-badge">Characters: {content_size}</div>
</div>
<button class="copy-btn" onclick="copyContent(this)">COPY</button>
</div>
<div class="content-preview">
<div class="content-text">{content.replace('<', '<').replace('>', '>')}</div>
</div>
</div>
</div>'''
html_end = '''
</div>
</div>
<footer class="footer">
<div class="footer-content">
<div class="footer-title">🔍 Vulnerability Analysis Complete</div>
<div class="footer-text">
This report was generated by the CVE-2025-30208 Scanner, a specialized tool designed to detect
Vite Arbitrary File Read vulnerabilities. The vulnerability allows attackers to read arbitrary
files from the server's filesystem, potentially exposing sensitive information including
configuration files, source code, and system files.
</div>
<div class="footer-signature">
<div class="signature-text">🔧 Tool: CVE-2025-30208 Scanner</div>
<div class="signature-text">👨💻 Author: <a href="https://github.com/ThemeHackers" class="signature-github" target="_blank">ThemeHackers</a></div>
<div class="signature-text">📅 Generated: <span id="generation-time"></span></div>
</div>
</div>
</footer>
<script>
// Update stats
function updateStats() {
const leaks = document.querySelectorAll('.leak-card');
const totalLeaks = leaks.length;
let totalBytes = 0;
leaks.forEach(leak => {
const content = leak.querySelector('.content-text');
if (content) {
totalBytes += content.textContent.length;
}
});
document.getElementById('total-leaks').textContent = totalLeaks;
document.getElementById('total-bytes').textContent = totalBytes.toLocaleString();
document.getElementById('generation-time').textContent = new Date().toLocaleString();
}
// Copy content functionality
function copyContent(btn) {
const card = btn.closest('.leak-card');
const content = card.querySelector('.content-text');
const url = card.querySelector('.leak-url');
const textToCopy = `URL: ${url.textContent}\\n\\nContent:\\n${content.textContent}`;
navigator.clipboard.writeText(textToCopy).then(() => {
const originalText = btn.textContent;
btn.textContent = 'COPIED!';
btn.style.background = 'linear-gradient(45deg, var(--accent-green), var(--accent-blue))';
setTimeout(() => {
btn.textContent = originalText;
btn.style.background = 'linear-gradient(45deg, var(--accent-blue), var(--accent-purple))';
}, 2000);
});
}
// Initialize
document.addEventListener('DOMContentLoaded', function() {
updateStats();
});
// Add some interactive effects
document.addEventListener('mousemove', function(e) {
const elements = document.querySelectorAll('.floating-element');
elements.forEach((el, index) => {
const speed = (index + 1) * 0.5;
const x = (window.innerWidth - e.pageX * speed) / 100;
const y = (window.innerHeight - e.pageY * speed) / 100;
el.style.transform = `translateX(${x}px) translateY(${y}px)`;
});
});
</script>
</body>
</html>'''
return html_start + leak_cards + html_end