| 제목 | Spotweb 1.5.8 Open Redirect |
|---|
| 설명 | A vulnerability was found in Spotweb. The issue affects the login functionality in templates/*/login.inc.php. The loginform[http_referer] POST parameter is passed directly to the redirect() function in lib/SpotTemplateHelper.php without any URL validation after successful authentication. This allows attackers to redirect authenticated users to arbitrary external URLs including phishing sites.
Vulnerable code (templates/we1rdo/login.inc.php lines 7-8):
if (isset($data['performredirect']) && ($result->isSuccess())) {
$tplHelper->redirect($loginform['http_referer']);
}
The redirect() function (lib/SpotTemplateHelper.php lines 1586-1589):
public function redirect($url)
{
header('Location: '.$url);
}
Attack: Attacker creates form with loginform[http_referer]=https://evil.com. After victim logs in with valid credentials, they are redirected to attacker's site.
Impact: Phishing, credential theft, session hijacking.
CVSS 3.1: 6.1 (Medium) - AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CWE-601: URL Redirection to Untrusted Site |
|---|
| 원천 | ⚠️ https://github.com/0p5cur/Spotweb-Open-Redirect |
|---|
| 사용자 | 0p5cur (UID 102559) |
|---|
| 제출 | 2026. 10. 27. PM 09:27 (29 날 ago) |
|---|
| 모더레이션 | 2026. 11. 25. PM 05:31 (29 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 443921 [Spotweb 까지 1.5.8 Login SpotTemplateHelper.php redirect http_referer Redirect] |
|---|
| 포인트들 | 20 |
|---|