Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summary count not accurate #50

Closed
salt-lick opened this issue May 19, 2017 · 1 comment
Closed

Summary count not accurate #50

salt-lick opened this issue May 19, 2017 · 1 comment
Labels

Comments

@salt-lick
Copy link


==================== Results ===================

Problem: [origins] Validation regex for "origin" or "referrer" matches untrusted domain.
Severity: HIGH <-------
Description: Improve the regular expression to match only trusted referrers.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/origins.md
Reason: Regex matches "https://www.yandex.ru.evil.com" as a valid origin.
Pseudo config:
if ($http_origin ~* ((^https://www\.yandex\.ru)|(^https://ya\.ru)/)) {
}


==================== Summary ===================
Total issues:
    Unspecified: 0
    Low: 0
    Medium: 1 <-------
    High: 0

Shows High in the Results section but the Summary count it as showing Medium.

@buglloc
Copy link
Member

buglloc commented May 21, 2017

Thanks! Fixed in Gixy v0.1.5

@buglloc buglloc closed this as completed May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants