POJIA破甲
地图 / Weak random number generator used in concrete/authentication/concrete/controller.php

Weak random number generator used in concrete/authentication/concrete/controller.php

密码学缺陷 / 密码学问题(通用) / #31171

厂商
Concrete CMS
严重程度
未评级
赏金
—
弱点
密码学问题(通用)
研究员
@voodookobra
披露日期
2014-10-26
资产
—
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(748 字符中的一小部分)
Using substr(rand()) then running md5() on the output would be better replaced by using bin2hex() and either openssl_random_pseudo_bytes($a) or mcrypt_create_iv($a, MCRYPT_DEV_URANDOM)
原文中的代码

    private function genString($a = 20)
    {
        $o = '';
        $chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+{}|":<>?\'\\';
        $l = strlen($chars);
        while ($a--) {
            $o .= substr($chars, rand(0, $l), 1);
        }
        return md5($o);
    }

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @voodookobra · 版权归作者与 Concrete CMS 所有

同类报告

elections.k8s.io uses weak session secret key, may place elections at riskKubernetes · 2025-09-19 · $250SMTP interaction theft via MITMPortSwigger Web Security · 2020-11-04Able to change password by entering wrong old passwordStripo Inc · 2019-12-18HashDoS in V8Node.js · 2025-07-15The POODLE attack (SSLv3 supported) at status.slack.comSlack · 2018-11-28SSL certificate not validated when registering with a providerNextcloud · 2021-06-02 · $300