View Issue Details

IDProjectCategoryView StatusLast Update
0007798Talerwallet (WebExtension)public2023-04-11 16:40
Reportersebasjm Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionwon't fix 
Product Version0.9.3 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007798: wallet UI should warn before redirect
DescriptionThe issue is taking by the comments of @grote in 0007473

Places where wallet UI redirect the user outside the wallet:
 * withdrawal process to bank account (captcha confirmation)
 * after purchase to merchant site (fulfillment url)

(not an exhaustive list)

In the case that the redirection URL comes from $DOMAIN
if the redirectionUrl.hostname == $DOMAIN then destination is trusted
if the redirectionUrl.hostname is in a list of trusted domains by the user, then is trusted

if domain is not trusted,
 * tell the user that is going to be redirected to URL
 * show a checkbox "I trusted this location, don't warn me again"


relevant:
https://owasp-aasvs.readthedocs.io/en/latest/requirement-16.1.html
https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

sebasjm

2023-04-10 15:23

developer   ~0020056

Adding Marc and Florian for comments

Christian Grothoff

2023-04-11 16:40

manager   ~0020074

Opening a URL in a browser should always be 'safe'. The wallet won't export dangerous secrets (say via URL parameters), and we're not in a walled garden where we try to keep users inside either. So there is no good reason for this, teaching users to click away warnings is not a good practice, and it is also bad for UX. We will not do this.

Issue History

Date ModifiedUsernameFieldChange
2023-04-10 15:21sebasjmNew Issue
2023-04-10 15:21sebasjmStatusnew => assigned
2023-04-10 15:21sebasjmAssigned To => sebasjm
2023-04-10 15:23sebasjmNote Added: 0020056
2023-04-11 16:40Christian GrothoffNote Added: 0020074
2023-04-11 16:40Christian GrothoffSeverityminor => feature
2023-04-11 16:40Christian GrothoffReproducibilityalways => N/A
2023-04-11 16:40Christian GrothoffStatusassigned => closed
2023-04-11 16:40Christian GrothoffResolutionopen => won't fix
2023-04-11 16:40Christian GrothoffFixed in Version => 0.9.3
2023-04-13 18:37Florian DoldCategorywallet (WebExtensions) => wallet (WebExtension)