Sangoma FreePBX - Authentication Bypass (Broken Access Control)
Sangoma FreePBX 13.x before 13.0.197.14, 14.x before 14.0.13.12 and 15.x before 15.0.16.27 contains an authentication bypass in the admin interface (admin/config.php). The login handler sets the `$_SESSION['AMP_user']` session for the submitted username before validating the password and only clears it if the password check returns false; because the password value is not sanitized, supplying the password as an array (e.g. `password[0]=x`) makes the password check throw before the session-clear is reached, leaving an authenticated administrator session. A remote, unauthenticated attacker gains full admin access to the FreePBX GUI. References: https://nvd.nist.gov/vuln/detail/CVE-2019-19006 https://community.freepbx.org/t/freepbx-security-vulnerability-sec-2019-001/62772 https://research.checkpoint.com/2020/inj3ctor3-operation-leveraging-asterisk-servers-for-monetization/ https://github.com/FreePBX/framework/commit/e0516bb36023 Remediation: Upgrade to FreePBX framework 13.0.197.14, 14.0.13.12, 15.0.16.27 or later.
domain, subdomain, ipv4