View Issue Details

IDProjectCategoryView StatusLast Update
0005802GNUnetrest servicepublic2019-07-24 18:42
Reporterschanzen Assigned Toschanzen Due Date
PriorityurgentSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.11.6Fixed in Version0.11.6 
Summary0005802: REST service should have some advanced CORS logic
DescriptionCurrently, the REST server allows to be configured in a way that it echoes the Origin of an HTTP request in the CORS reponse.
This is a security issue as any website is now able to call the GNUnet REST API from the browser.

We should find a way to only allow special browsers and domains to be able to call the REST API and/or leverage the CORS enforcement of the browser.

Intentially blocking for 0.11.6
TagsNo tags attached.

Activities

schanzen

2019-07-11 16:32

administrator   ~0014667

Fixed in aca547d7e0d2c35de71daa934f01f6959b51cf7f.
Now, only requests with origin from moz-extension://* and chrome-extension://* are echoed.

Issue History

Date ModifiedUsernameFieldChange
2019-07-11 14:50schanzenNew Issue
2019-07-11 14:50schanzenStatusnew => assigned
2019-07-11 14:50schanzenAssigned To => schanzen
2019-07-11 14:50schanzenAssigned Toschanzen =>
2019-07-11 14:51schanzenTarget Version => 0.11.6
2019-07-11 14:51schanzenDescription Updated
2019-07-11 16:32schanzenAssigned To => schanzen
2019-07-11 16:32schanzenStatusassigned => resolved
2019-07-11 16:32schanzenResolutionopen => fixed
2019-07-11 16:32schanzenNote Added: 0014667
2019-07-24 18:41Christian GrothoffFixed in Version => 0.11.6
2019-07-24 18:42Christian GrothoffStatusresolved => closed