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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/george0papasotiriou/cve-2026-22008-aws-lambda-layer-injection-via-shared-layer-arn
云基础设施安全漏洞分析漏洞利用云安全供应链安全Payload 开发
GitHubgeorge0papasotiriou/cve-2026-22008-aws-lambda-layer-injection-via-shared-layer-arn

CVE-2026-22008-AWS-Lambda-Layer-Injection-via-Shared-Layer-ARN

针对 CVE-2026-22008 的概念验证,演示了通过不受信任的 ARN 进行 AWS Lambda 层注入,从而在受影响函数中实现任意代码执行和凭据窃取。

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
61个月前尚未审核

CVE-2026-22008 – 通过共享 Layer ARN 的 AWS Lambda Layer 注入

程序代码 (Python)

root@kitploit:~
# deploy_vulnerable_lambda.py - Lambda function using a layer from untrusted account
import boto3
lambda_client = boto3.client('lambda')
# Attacker publishes a public layer containing malicious code
# Victim function references the layer ARN
response = lambda_client.create_function(
    FunctionName='victim-func',
    Runtime='python3.9',
    Role='arn:aws:iam::123456789012:role/lambda-role',
    Handler='index.handler',
    Code={'ZipFile': open('function.zip','rb').read()},
    Layers=['arn:aws:lambda:us-east-1:123456789012:layer:poisoned:1']  # public, but owned by attacker
)
print("Function created with malicious layer")

CVE-2026-22008 – AWS Lambda Layer 注入(通过不受信任的 ARN)

Severity: Critical

概述

AWS Lambda 函数包含了一个来自公开共享但不受信任的 ARN 的 Lambda Layer。该 Layer 的代码在函数的执行环境中运行,从而使 Layer 的发布者能够窃取凭据、窃取数据以及执行任意代码。

漏洞详情

  • 类型: 供应链 / 代码注入
  • 影响: 函数完全受损,凭据窃取。
  • 根本原因: Lambda Layer 会被合并到函数代码中,且无需签名验证。恶意的 Layer 所有者可以更新该 Layer,从而影响所有使用它的函数。

漏洞利用演示

使用易受攻击的脚本部署受害者函数(需要 AWS 沙箱环境):

root@kitploit:~
python deploy_vulnerable_lambda.py

每次请求都会调用该 Layer 的处理程序,并回连到攻击者服务器。

下载工具