POJIA破甲
地图 / PHP yaml_parse/yaml_parse_file/yaml_parse_url Unsafe Deserialization

PHP yaml_parse/yaml_parse_file/yaml_parse_url Unsafe Deserialization

代码执行 / Unlabeled / #73257

厂商
Internet Bug Bounty
严重程度
未评级
赏金
$500
弱点
Unlabeled
研究员
@johnleitch
披露日期
2015-05-18
资产
PHP
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(1708 字符中的一小部分)
Description: ------------ The PHP unserialize() function is considered unsafe due to its behavior regarding class instantiation; in cases where serialized data is attacker controlled, it can be tampered with, allowing for the instantiation of arbitrary PHP classes and thus code execution via …
原文中的代码
<?php 
class A {
    function __destruct() {
       echo 'destructor invoked';
    }
}

yaml_parse('x: !php/object O:1:"A":0:{}');
?>

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @johnleitch · 版权归作者与 Internet Bug Bounty 所有

同类报告

CVE-2020-8913 - Persistent arbitrary code execution in Android's Google Play Core Library: details, explanation and the PoCGoogle · —Remote code execution [CVE-2023-36845]MTN Group · 2024-10-09Remote Code Execution on Proxy Service (as root)██████ · —XSS Vulnerability on Pressable/Atomic Hosting Platform via unescaped admin notices leads to code executionAutomattic · 2026-02-18Remote Code Execution via unsafe usage of `reply.view({ raw })` in @fastify/view (EJS template engine)Fastify · 2025-05-28Reflected XSS and Server Side Template Injection in all HubSpot CMSesHubSpot Inactive · —