| tiêu đề | Spotweb 1.5.8 Open Redirect |
|---|
| Mô tả | 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 |
|---|
| Nguồn | ⚠️ https://github.com/0p5cur/Spotweb-Open-Redirect |
|---|
| Người dùng | 0p5cur (UID 102559) |
|---|
| Đệ trình | 27/10/2026 21:27 (cách đây 29 ngày) |
|---|
| Kiểm duyệt | 25/11/2026 17:31 (29 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 443921 [Spotweb đến 1.5.8 Login SpotTemplateHelper.php redirect http_referer Redirect] |
|---|
| điểm | 20 |
|---|