Aliyun AVD Remote Highlight

自动高亮阿里云漏洞库中可远程触发的CVE漏洞(支持CVSS 2.x/3.x/4.0),支持CWE分类筛选

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Yxuan18
Daily installs
0
Total installs
1
Ratings
0 0 0
Version
1.6
Created
2026-06-07
Updated
2026-06-08
Size
19.1 KB
License
N/A
Applies to

阿里云漏洞库 - 远程触发 + HTTP协议类高亮

English README

功能简介

在阿里云漏洞库的 CVE 漏洞库页面,通过 CVSS 攻击向量CWE 分类 两个维度,自动高亮可远程触发的 HTTP 协议类漏洞。

核心特性

  • 双维度筛选:CVSS 攻击向量(远程/本地)+ CWE 分类(HTTP 协议类)
  • 异步实时高亮:每个 CVE 查询完成后立即高亮,无需等待全部完成
  • 三重高亮
    • 🟢 绿色:仅远程触发
    • 🟠 橙色:远程触发 + HTTP 协议类(双重命中)
  • CWE 可编辑:内置 HTTP 协议类常见漏洞列表,支持自定义添加/删除
  • 状态持久化:筛选状态和自定义 CWE 列表保存到浏览器本地
  • 翻页自动分析:切换页面后自动检测并分析新数据

使用方法

  1. 安装 Tampermonkey 浏览器扩展
  2. 点击 GreasyFork 上的"安装此脚本"
  3. 访问 阿里云 CVE 漏洞库
  4. 等待自动分析完成,远程触发漏洞自动显示绿色高亮
  5. 点击工具栏的"🌐 HTTP 协议类"按钮筛选双重命中漏洞

工作原理

  1. 脚本读取页面漏洞列表
  2. 逐个抓取 NVD 详情页(https://nvd.nist.gov/vuln/detail/{CVE-ID}
  3. 解析 CVSS 向量字符串,提取 AV:
  4. 解析 CWE 编号,与预设列表匹配
  5. 根据筛选条件应用不同颜色高亮

CVSS 攻击向量说明

AV 值 含义 说明
N Network 远程触发,可从网络远程利用
A Adjacent 相邻网络,需在同一网络环境
L Local 本地触发,需本地访问权限
P Physical 物理接触才能利用

内置 CWE 分类(HTTP 协议类)

CWE 编号 漏洞类型
CWE-79 跨站脚本 (XSS)
CWE-89 SQL 注入
CWE-22 路径穿越
CWE-78 命令注入
CWE-918 服务器端请求伪造 (SSRF)
CWE-601 开放重定向
CWE-434 危险文件上传
CWE-352 跨站请求伪造 (CSRF)
CWE-502 反序列化漏洞
CWE-287 认证绕过
... (共 16 个)

界面说明

┌─────────────────────────────────────────────────────────────┐
│ HTTP协议类筛选: [🌐 HTTP协议类] [✎ 编辑CWE] [✕ 清除]       │
│                                    🌐 远程+HTTP类: 5 条     │
├─────────────────────────────────────────────────────────────┤
│ CVE-2024-XXXX  ...  🟠 橙色行(远程 + HTTP类)              │
│ CVE-2024-YYYY  ...  🟢 绿色行(仅远程)                    │
│ CVE-2024-ZZZZ  ...  无高亮(本地触发)                       │
└─────────────────────────────────────────────────────────────┘

工具栏按钮

  • 🌐 HTTP 协议类:点击激活/取消 HTTP 协议类筛选
  • ✎ 编辑CWE:打开弹窗编辑自定义 CWE 列表
  • ✕ 清除:取消所有筛选,恢复默认视图

编辑 CWE 弹窗

支持两种格式输入:

  • 逗号分隔:CWE-79, CWE-89, CWE-22

  • 每行一个:

  CWE-79
  CWE-89
  CWE-22

控制台输出示例

[AVD Remote Highlight] 脚本启动 v1.6
[AVD] 已恢复筛选状态: http-protocol
[AVD] 分析页面,当前 30 条漏洞...
[AVD] CVE-2024-11453 -> AV:N, CVSS:6.3, CWE-79
[AVD] CVE-2024-11452 -> AV:N, CVSS:7.3, CWE-89
[AVD] CVE-2024-11451 -> AV:L, CVSS:7.3, CWE-79
...
[AVD] ✅ 页面分析完成

适用场景

  • 安全运营:快速筛选可被远程利用的高危漏洞
  • 渗透测试:识别潜在的攻击入口点(HTTP 协议类漏洞)
  • 漏洞排查:优先处理网络可达的服务漏洞

技术说明

  • 使用纯 DOM 方法,无 innerHTML 注入
  • 请求间隔 150ms,友好对待 NVD 服务器
  • 无需 API Key,直接抓取 NVD 详情页
  • 使用 GM_setValue/GM_getValue 持久化用户配置
  • MutationObserver 监听页面变化,自动处理翻页

更新日志

v1.6 (2026-06-08)

  • 修复翻页后筛选状态丢失问题
  • 新增异步实时高亮(每个 CVE 查询完成立即高亮)
  • 筛选状态和 CWE 列表持久化存储
  • 翻页后自动检测并分析新数据

v1.5 (2026-06-08)

  • 新增 CWE 分类筛选维度
  • 添加前端可编辑 CWE 列表
  • 三色高亮系统(无/绿色/橙色)

v1.4 (2026-06-07)

  • 改用 NVD 详情页抓取,无需 API Key
  • 优化正则表达式提取 CVSS 向量

v1.3 (2026-06-07)

  • 增加 API Key 支持
  • 添加限流处理和重试机制

v1.2 (2026-06-07)

  • 添加控制台日志输出
  • 增加错误处理

v1.1 (2026-06-07)

  • 初始版本

反馈与贡献

欢迎提交 Issue 或 Pull Request:


English

Aliyun AVD - Remote Exploit + HTTP Protocol Highlighter

Automatically highlights remotely exploitable vulnerabilities on Aliyun Vulnerability Database, with dual-dimension filtering (CVSS attack vector + CWE category).

Features:

  • Dual-dimension filtering: CVSS attack vector + CWE category
  • Real-time async highlighting (highlight as each CVE is fetched)
  • Triple highlighting: None / Green (remote only) / Orange (remote + HTTP category)
  • Editable CWE list with preset HTTP protocol categories
  • Persistent storage of filter state and custom CWE list
  • Auto-analysis on page navigation

Usage:

  1. Install Tampermonkey
  2. Install this script from GreasyFork
  3. Visit Aliyun CVE Database
  4. Click "🌐 HTTP Protocol" button to filter dual-condition vulnerabilities

Preset CWE Categories (HTTP Protocol):

  • CWE-79: Cross-Site Scripting (XSS)
  • CWE-89: SQL Injection
  • CWE-22: Path Traversal
  • CWE-78: OS Command Injection
  • CWE-918: Server-Side Request Forgery (SSRF)
  • CWE-601: Open Redirect
  • CWE-434: Unrestricted Upload
  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-502: Deserialization
  • CWE-287: Authentication Bypass
  • ... (16 total)

How it works:

  1. Reads vulnerability list from the page
  2. Fetches NVD detail pages for each CVE
  3. Parses CVSS vector string to extract AV: value
  4. Parses CWE ID and matches against preset list
  5. Applies highlighting based on filter conditions