Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

verify our metascraper-based client code is not vulnerable #14066

Closed
diracdeltas opened this issue May 8, 2018 · 2 comments · Fixed by #14069
Closed

verify our metascraper-based client code is not vulnerable #14066

diracdeltas opened this issue May 8, 2018 · 2 comments · Fixed by #14069

Comments

@diracdeltas
Copy link
Member

diracdeltas commented May 8, 2018

the BAT client code in browser-laptop copy/pasted some code from metascraper, which has an unfixed vuln: https://hackerone.com/reports/309367. we need to check whether it is vulnerable as well.

related: #14065

UPDATE: no test plan is needed since we aren't vulnerable to the issue in the first place AFAICT, but it would be good for QA to go through the test plan in #13114 (comment) to make sure it hasn't regressed.

@diracdeltas
Copy link
Member Author

Pretty sure this is OK because we don't evaluate any of the metascraper input as code. I will add a check to sanitize it for HTML just to be extra sure.

diracdeltas added a commit that referenced this issue May 8, 2018
fix #14066

Test Plan:
follow test plan in #13114
to make sure there are no regressions
diracdeltas added a commit that referenced this issue May 8, 2018
fix #14066

Test Plan:
follow test plan in #13114
to make sure there are no regressions
diracdeltas added a commit that referenced this issue May 9, 2018
fix #14066

Test Plan:
follow test plan in #13114
to make sure there are no regressions
@LaurenWags
Copy link
Member

LaurenWags commented May 10, 2018

Verified test plan from #13114 (comment) with macOS 10.12.6 using

  • 0.22.706 e11b027
  • muon 6.0.9
  • libchromiumcontent 66.0.3359.139

Verified on Windows x64

  • 0.22.706 e11b027
  • libchromiumcontent 66.0.3359.139
  • muon: 6.0.9

Verified on Ubuntu 17.10 x64

  • 0.22.706 e11b027
  • libchromiumcontent 66.0.3359.139
  • muon: 6.0.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.