Exploit databaseDownload repository ZIP
GH-dff16853cf994f33a8a3e370d7e30a5b
yz9yt/react2shell-ctf
Sources for CVE-2025-55182
257 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files1
yz9yt/react2shell-ctfRevision a9122d1d1a94
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
public/index.html
HTML · 6,822 bytes<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CorpSecure | Enterprise Access</title>
<style>
:root {
--primary: #0f172a;
--accent: #3b82f6;
--text: #e2e8f0;
--error: #ef4444;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'SF Mono', 'Roboto Mono', monospace;
}
body {
background-color: var(--primary);
color: var(--text);
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background-image:
radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9));
}
.container {
width: 100%;
max-width: 420px;
padding: 2rem;
background: rgba(30, 41, 59, 0.5);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 12px;
backdrop-filter: blur(10px);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
position: relative;
}
.container::before {
content: '';
position: absolute;
top: -1px;
left: -1px;
right: -1px;
height: 1px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.logo {
text-align: center;
margin-bottom: 2rem;
}
.logo svg {
width: 48px;
height: 48px;
color: var(--accent);
margin-bottom: 1rem;
}
h1 {
font-size: 1.25rem;
font-weight: 600;
letter-spacing: -0.025em;
margin-bottom: 0.5rem;
}
.subtitle {
color: #94a3b8;
font-size: 0.875rem;
}
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #94a3b8;
margin-bottom: 0.5rem;
}
input {
width: 100%;
background: rgba(15, 23, 42, 0.6);
border: 1px solid #334155;
color: white;
padding: 0.75rem 1rem;
border-radius: 6px;
font-size: 0.875rem;
transition: all 0.2s;
}
input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
button {
width: 100%;
background: var(--accent);
color: white;
border: none;
padding: 0.75rem;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
button:hover {
background: #2563eb;
}
.status {
margin-top: 1.5rem;
padding: 0.75rem;
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.2);
border-radius: 6px;
color: #fca5a5;
font-size: 0.75rem;
display: flex;
align-items: center;
gap: 0.5rem;
opacity: 0.8;
}
.blink {
animation: blink 2s infinite;
}
@keyframes blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.footer {
margin-top: 2rem;
text-align: center;
font-size: 0.75rem;
color: #64748b;
}
</style>
</head>
<body>
<div class="container">
<div class="logo">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round"
d="M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z" />
</svg>
<h1>CorpSecure Portal</h1>
<p class="subtitle">Next.js Enterprise Gateway v14.0.1</p>
</div>
<form id="loginForm">
<div class="form-group">
<label for="username">Corporate ID</label>
<input type="text" id="username" placeholder="[email protected]" />
</div>
<div class="form-group">
<label for="password">Access Token</label>
<input type="password" id="password" placeholder="••••••••••••" />
</div>
<button type="submit">Authenticate</button>
</form>
<div class="status">
<svg style="width: 16px; height: 16px;" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
</svg>
<span>System Status: LOCKED. RSC Handler Active.</span>
</div>
<div class="footer">
<!-- HINT: Debugging enabled on POST / for QA team. Check RSC headers. -->
© 2025 CorpSecure Inc. All rights reserved. <br>
Created by <a href="https://x.com/yz9yt" target="_blank" style="color: #64748b; text-decoration: none; font-weight: bold;">@yz9yt</a>
</div>
</div>
<script>
document.getElementById('loginForm').addEventListener('submit', (e) => {
e.preventDefault();
const btn = e.target.querySelector('button');
const originalText = btn.innerText;
btn.innerText = 'Verifying Identity...';
btn.style.opacity = '0.7';
setTimeout(() => {
btn.innerText = 'Access Denied';
btn.style.backgroundColor = '#ef4444';
setTimeout(() => {
btn.innerText = originalText;
btn.style.backgroundColor = '';
btn.style.opacity = '1';
}, 2000);
}, 1000);
});
</script>
</body>
</html>