CVE-2016-3953
web2py remote code execution via hardcoded encryption key in session.connect function
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (low).
Description
The sample web application in web2py before 2.14.2 might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded encryption key when calling the session.connect function.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | web2py | 2.14.2 |
| ubuntu 16.04 | web2py | 2.12.3-1ubuntu0.1 |
| ubuntu 16.04-ESM | web2py | 2.12.3-1ubuntu0.1 |
References
- https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957
- https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/
- https://github.com/web2py/web2py
- https://github.com/web2py/web2py/blob/R-2.14.1/applications/examples/models/session.py
- https://github.com/web2py/web2py/commit/9706d125b42481178d2b423de245f5d2faadbf40
- https://github.com/web2py/web2py/issues/1205
- https://nvd.nist.gov/vuln/detail/CVE-2016-3953
- https://ubuntu.com/security/notices/USN-4030-1