Pagure 5.2 leaks API keys by e-mailing them to users. Few e-mail servers validate TLS certificates, so it is easy for man-in-the-middle attackers to read these e-mails and gain access to Pagure on behalf of other users. This issue is found in the API token expiration reminder cron job in files/api_key_expire_mail.py; disabling that job is also a viable solution. (E-mailing a substring of the API key was an attempted, but rejected, solution.)
References
Link | Resource |
---|---|
https://pagure.io/pagure/c/9905fb1e64341822366b6ab1d414d2baa230af0a | Issue Tracking Patch Vendor Advisory |
https://pagure.io/pagure/issue/4230 | Issue Tracking Patch Vendor Advisory |
https://pagure.io/pagure/issue/4252 | Broken Link |
https://pagure.io/pagure/issue/4253 | Broken Link |
https://pagure.io/pagure/pull-request/4254 | Issue Tracking Patch Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2019-02-08T03:00:00
Updated: 2019-02-08T03:57:01
Reserved: 2019-02-07T00:00:00
Link: CVE-2019-7628
JSON object: View
NVD Information
Status : Analyzed
Published: 2019-02-08T03:29:00.327
Modified: 2019-02-21T14:23:30.150
Link: CVE-2019-7628
JSON object: View
Redhat Information
No data.
CWE