标题 简介 类型 公开时间
关联规则 关联知识 关联工具 关联文档 关联抓包
参考1(官网)
参考2
参考3
详情
[SAFE-ID: JIWO-2024-941]   作者: ecawen 发表于: [2017-10-29]

本文共 [302] 位读者顶过

微软宣布推出由Microsoft Edge团队开发的开放源代码和网站扫描工具Sonar。开源工具旨在允许开发人员识别和解决性能和安全问题,可以在GitHub上获取。该工具可以扫描以下弱点:disallowed-headers,disown-opener,no-protocol-relative-urls,ssllabs,strict-transport-security,x-content-type-options,validate-set-cookie-header,no-vulnerable-javascript-libraries。 [出自:jiwo.org]

The open source tool was designed to allow developers to identify and solve performance and security issues, it is available on GitHub.

The Microsoft Edge team donated Sonar to the JS Foundation, the tech giant will continue to follow the project improving it along with contributions from external experts.

“Today, we are excited to announce the next evolution of the static scan tool: sonar, a new linting tool and site scanner for the modern web.” states a blog post published by Microsoft.

“sonar brings many improvements compared to previous scanners: execution of website code instead of static analysis, a more flexible and modernized set of rules, parallel test execution, integration with other services, a completely open source code base from day one, and more.”

Sonar is a linting tool that analyzes the code for a wide range of issues, including related to coding errors, performance, accessibility, security, Progressive Web Apps (PWA), and interoperability. Sonar can be used as a command line tool or via an online version.

From the cybersecurity perspective, the tool scans for the following weaknesses:

  • disallowed-headers
  • disown-opener
  • no-protocol-relative-urls
  • ssllabs
  • strict-transport-security
  • x-content-type-options
  • validate-set-cookie-header
  • no-vulnerable-javascript-libraries

Sonar

One of the tests checks for the exposure to MitM attacks due to the use of HTTPS connections that don’t use the Strict-Transport-Security header.

Sonar also checks if the set-cookie header defines the Secure and HttpOnly attributes to prevent session hijacking via cross-site scripting (XSS) attacks. Setting the attributes the cookies cannot be transmitted over HTTP and their value cannot be accessed via JavaScript.

Another test is related to the exposure to attacks that rely on MIME sniffing, Sonar is able to check this kind of vulnerability, the linting tool is also able to determine if a website is running a vulnerable client-side JavaScript library or framework. The latter checks rely on the Snyk’s Vulnerability DB and js-library-detector.

The linting tool can also be used to avoid leakage of potentially sensitive data through the headers, and prevent unauthorized redirects that could lead users to malicious websites.

Sonar can be integrated with several other products, including aXe Core, AMP validator, snyk.io, SSL Labs, and Cloudinary.

评论

暂无
发表评论
 返回顶部 
热度(302)
 关注微信