xiaoyanbot
V2EX  ›  PHP

PHP 安全的一张 PPT 谈到的一个(读写权限)问题的判断,啥意思?

  •  
  •   xiaoyanbot · Apr 4, 2017 · 2466 views
    This topic created in 3330 days ago, the information mentioned may be changed or developed.

    PPT 来源为: 2016 年 DevLink 主办的 PHP 大会,其中 PPT 为: (黄敏)安全编码实战经验.pdf

    这张 PPT 的信息,到底是什么意思? 说是比较低级的漏洞, 这样的问题在哪儿?

    billlee
        1
    billlee  
       Apr 5, 2017
    低级错误,$method == 'POST' 的时候没检查权限
    phithon
        2
    phithon  
       Apr 5, 2017
    想说的被楼上说了……
    另外,这绿油油的 PPT ,扎眼
    freehere
        3
    freehere  
       Apr 5, 2017
    现在看来这代码好蠢
    mingyun
        4
    mingyun  
       Apr 5, 2017
    搜索了下,是这个 ppt 吧 https://wenku.baidu.com/view/ab51b229fab069dc51220117.html

    get 为读 post 为写,可以绕过 get 直接 post 修改任何人的帖子
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2756 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 00:03 · PVG 08:03 · LAX 17:03 · JFK 20:03
    ♥ Do have faith in what you're doing.