Full read SSRF in www.evernote.com that can leak aws metadata and local file inclusion

Program: evernote Bug Type: SSRF Bounty: 5000 Date: 2021-05-19
SSRF path-traversal

Summary

The researcher found a vulnerable url in evernote - https://www.evernote.com/ro/aHR0cDovLzE2OS4yNTQuMTY5LjI1NC8jdGVzdC5qcw==/-1430533899.js that allowed SSRF. the base64 encoded value can be replaced with a external url or a internal file (using file:// wrapper.), allowing SSRF and Path traversal. The only whitelisting done on the url was the need for the url to end with *.js or *.css, which can be achieved by using a '#' character followed by the any *.js filename.

References