CVE-2018-3774: URL Redirection to Untrusted Site ('Open Redirect') (CWE-601)
value: Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.
CWE description: A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.
CVSS v3 base score: 10
Published: 2018-08-12T22:29Z
Repository: https://github.com/unshiftio/url-parse
Language: Markdown
Files changed: SECURITY.md
Commit date: 2018-07-29 14:42:38 +0200
Commit message: [security] Added missing SECURITY.md

Diff: diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000..368469d
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,47 @@
+# Security Guidelines
+
+Please contact us directly at **security@3rd-Eden.com** for any bug that might
+impact the security of this project. Please prefix the subject of your email
+with `[security]` in lowercase and square brackets. Our email filters will
+automatically prevent these messages from being moved to our spam box. All
+emails that do not include security vulnerabilities will be removed and blocked
+instantly.
+
+In addition to a dedicated email address to receive security related reports,
+we also have a [Hacker1 account][hacker1] that can be used be used for
+communicating security related issues.
+
+You will receive an acknowledgement of your report within **24 hours** of
+notification.
+
+## Exceptions
+
+If you do not receive an acknowledgement within the said time frame please give
+us the benefit of the doubt as it's possible that we haven't seen it yet. In
+this case please send us a message **without details** using one of the
+following methods:
+
+- Give a poke on Twitter [@3rdEden](https://twitter.com/3rdEden)
+- Contact the lead developers of this project on their personal e-mails. You
+  can find the e-mails in the git logs, for example using the following command:
+  `git --no-pager show -s --format='%an <%ae>' <gitsha>` where `<gitsha>` is the
+  SHA1 of their latest commit in the project.
+
+Once we have acknowledged receipt of your report and confirmed the bug
+ourselves we will work with you to fix the vulnerability and publicly
+acknowledge your responsible disclosure, if you wish.
+
+## History
+
+> url-parse returns wrong hostname which leads to multiple vulnerabilities such
+> as SSRF, Open Redirect, Bypass Authentication Protocol.
+
+- Hacker1 report: https://hackerone.com/reports/384029
+- Reported by [lolwaleet](https://hackerone.com/lolwalee)
+- Triaged by [Liran Tal](https://hackerone.com/lirantal)
+- Fixed in: 1.4.3
+
+---
+
+[twitter]: https://twitter.com/3rdEden
+[hacker1]: https://hackerone.com/3rdeden

Fixed code: # Security Guidelines

Please contact us directly at **security@3rd-Eden.com** for any bug that might
impact the security of this project. Please prefix the subject of your email
with `[security]` in lowercase and square brackets. Our email filters will
automatically prevent these messages from being moved to our spam box. All
emails that do not include security vulnerabilities will be removed and blocked
instantly.

In addition to a dedicated email address to receive security related reports,
we also have a [Hacker1 account][hacker1] that can be used be used for
communicating security related issues.

You will receive an acknowledgement of your report within **24 hours** of
notification.

## Exceptions

If you do not receive an acknowledgement within the said time frame please give
us the benefit of the doubt as it's possible that we haven't seen it yet. In
this case please send us a message **without details** using one of the
following methods:

- Give a poke on Twitter [@3rdEden](https://twitter.com/3rdEden)
- Contact the lead developers of this project on their personal e-mails. You
  can find the e-mails in the git logs, for example using the following command:
  `git --no-pager show -s --format='%an <%ae>' <gitsha>` where `<gitsha>` is the
  SHA1 of their latest commit in the project.

Once we have acknowledged receipt of your report and confirmed the bug
ourselves we will work with you to fix the vulnerability and publicly
acknowledge your responsible disclosure, if you wish.

## History

> url-parse returns wrong hostname which leads to multiple vulnerabilities such
> as SSRF, Open Redirect, Bypass Authentication Protocol.

- Hacker1 report: https://hackerone.com/reports/384029
- Reported by [lolwaleet](https://hackerone.com/lolwalee)
- Triaged by [Liran Tal](https://hackerone.com/lirantal)
- Fixed in: 1.4.3

---

[twitter]: https://twitter.com/3rdEden
[hacker1]: https://hackerone.com/3rdeden