製品・ソフトウェアに関する情報
The Cacti GroupのCactiにおけるオープンリダイレクトの脆弱性
Title The Cacti GroupのCactiにおけるオープンリダイレクトの脆弱性
Summary

Cactiはオープンソースのパフォーマンスおよび障害管理フレームワークです。バージョン1.2.30およびそれ以前のバージョンには、str_contains($referer, CACTI_PATH_URL)でホストチェックではなく部分文字列チェックを行っていたため、オープンリダイレクトの脆弱性が存在します。ユーザーのlogin_optsが'1'(ログイン後にリファラーへリダイレクト)である場合、関数は$_SERVER['HTTP_REFERER']を直接使用していました。攻撃者はhttps://evil.com/cacti/のようなリファラーを細工することが可能です。ここでCACTI_PATH_URLは/cacti/であり、部分文字列が一致するとユーザーはログイン後にevil.comへリダイレクトされます。lib/html_utility.phpにある既存のvalidate_redirect_url()ヘルパーは適切な検証を行っていましたが、auth_login_redirect()からは呼び出されていませんでした。この問題はバージョン1.2.31で修正されました。

Possible impacts ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 25, 2026, midnight
Registration Date June 30, 2026, 11:21 a.m.
Last Update June 30, 2026, 11:21 a.m.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected System
The Cacti Group
Cacti 1.2.31 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月30日]
  掲載
June 30, 2026, 11:21 a.m.

NVD Vulnerability Information
CVE-2026-40080
Summary

Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Open Redirect through a substring check rather than a host check at str_contains($referer, CACTI_PATH_URL). When the user's login_opts == '1' (redirect to referer after login), the function used $_SERVER['HTTP_REFERER'] directly. An attacker could craft a referer such as https://evil.com/cacti/. Where CACTI_PATH_URL is /cacti/, the substring matches and the user is redirected to evil.com after login. The pre-existing validate_redirect_url() helper at lib/html_utility.php performed proper validation but was not invoked from auth_login_redirect(). This issue has been fixed in version 1.2.31.

Publication Date June 26, 2026, 8:17 a.m.
Registration Date June 27, 2026, 4:31 a.m.
Last Update June 30, 2026, 3:52 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:* 1.2.31
Related information, measures and tools
Common Vulnerabilities List