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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-63296 — KERUI K259 5MP Wi-Fi(涂鸦智能安全摄像头)包含一个代码执行漏洞 | Kitploit
工具/GitHubGitHub/t4e-3/cve-2025-63296
嵌入式系统安全持久化机制漏洞分析漏洞利用横向移动数据泄露后渗透利用命令与控制硬件与物联网安全固件分析二进制利用
9个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
GitHub
t4e-3/cve-2025-63296

CVE-2025-63296

KERUI K259 5MP Wi-Fi(涂鸦智能安全摄像头)包含一个代码执行漏洞

查看仓库

CVE-2025-63296

摘要

KERUI K259 5MP Wi-Fi / Tuya 智能安防摄像头固件 v33.53.87 在其启动/升级逻辑中包含一个代码执行漏洞:在启动过程中,/usr/sbin/anyka_service.sh 会扫描已挂载的 TF/SD 卡,如果存在 /mnt/update.nor.sh,则将其复制到 /tmp/net.sh 并以 root 身份执行,从而允许具有物理接触权限的攻击者运行任意命令。

详细信息

漏洞端点 : /usr/sbin/anyka_service.sh, /usr/bin/update_entry
触发文件 : update.nor.sh(放置于已挂载的 tf/sd 卡根目录)

/usr/sbin/anyka_service.sh

root@kitploit:~
...

start_update()
{
    /usr/bin/update_entry &
}

...

umount /mnt
mount_tf_card

sh /usr/sbin/tf_update.sh
start_update

i=5
while [ $i -gt 0 ]
do
    sleep 1
    pid=`pgrep /usr/bin/update_entry`
    if [ -z "$pid" ]; then
        echo "The /usr/bin/update_entry has exited, start_update!!!"
        break
    fi
    i=`expr $i - 1`
done

if [ $mount_status -eq 1 ]; then
    if [ -f /tmp/enter_update ]; then
        echo "/tmp/enter_update file is exist, should be update!"
        update_flag=1
    else
        echo "/tmp/enter_update file is not exist!"
        update_flag=0
    fi
else
    update_flag=0
fi

if [ $update_flag -eq 1 ]; then
    /tmp/net.sh
fi

...

/usr/bin/update_entry (伪代码 / 反编译)

root@kitploit:~
int sub_108f8()
{
    FILE *v0; // r6
    char v2[152]; // [sp+0h] [bp-98h] BYREF

    memset(v2, 0, 0x80u);
    v0 = popen("find /mnt/ -maxdepth 1 -name \"update.nor.sh\"", "r");
    if (v0)
    {
        while (fgets(v2, 128, v0))
        {
            if (strstr(v2, "update.nor.sh"))
            {
                puts("==================find update.nor.sh!! start update.nor.sh==================");
                system("cp -f /mnt/update.nor.sh /tmp/net.sh");
                usleep(0x2710u);
                system("chmod 777 /tmp/net.sh");
                system("touch /tmp/enter_update");
                system("sync");
                usleep(0x2710u);
                break;
            }
        }
        pclose(v0);
        return 0;
    }
    else
    {
        puts("error:popen failed");
        return -1;
    }
}

POC

  1. 在 sd/tf 卡根目录创建 /update.nor.sh,内容如下

    图片
  2. 插入 SD 卡并重启设备。

  3. 若利用成功,设备会将 /mnt/update.nor.sh 复制到 /tmp/net.sh,赋予其可执行权限并运行。将启动 telnet 服务(或任意命令),允许获取 root shell 访问权限。

    图片

影响

  • 远程命令执行与持久化后门:攻击者可获取 root shell,并通过 cron/init/引导修改来安装持久化。
  • 网络跳板与扫描:攻击者可利用摄像头扫描并攻击内网。
  • 凭据与媒体数据窃取:可读取并窃取存储的凭据、令牌以及录制的视频/音频。
  • 固件/引导持久化与篡改:攻击者可修改固件或引导组件,从而绕过校验并在重启后存活。
下载工具