Lookup for vulnerable packages by Package URL.
| Purl | pkg:hex/phoenix@1.0.3 |
| Type | hex |
| Namespace | |
| Name | phoenix |
| Version | 1.0.3 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 1.0.5 |
| Latest_non_vulnerable_version | 1.8.6 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-tze3-x324-z3hz |
| vulnerability_id |
VCID-tze3-x324-z3hz |
| summary |
The Phoenix team designed Phoenix.Controller.redirect/2 to protect against
redirects allowing user input to redirect to an external URL where your
application code otherwise assumes a local path redirect. This is why the
:to option is used for “local” URL redirects and why you must pass the
:external option to intentionally allow external URLs to be redirected to.
It has been disclosed that carefully crafted user input may be treated by some
browsers as an external URL. An attacker can use this vulnerability to aid in
social engineering attacks. The most common use would be to create highly
believable phishing attacks.
For example, the following user input would pass local URL validation,
but be treated by Chrome and Firefox as external URLs:
http://localhost:4000/?redirect=/\nexample.com
Not all browsers are affected, but latest Chrome and Firefox will issue a get
request for example.com and successfully redirect externally. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2017-1000163, GHSA-cmfh-8f8r-fj96
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-tze3-x324-z3hz |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:hex/phoenix@1.0.3 |