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

Timing oracle that is likely exploitable to forge MACs #11

Closed
jbtule opened this issue May 22, 2013 · 0 comments
Closed

Timing oracle that is likely exploitable to forge MACs #11

jbtule opened this issue May 22, 2013 · 0 comments
Assignees

Comments

@jbtule
Copy link

jbtule commented May 22, 2013

Hawk.cs:L135:

            if (!mac.Equals(attributes["mac"]))
            {
                throw new SecurityException("Bad mac");
            }

This is a well known implementation mistake. You should use a constant time comparison.

@ghost ghost assigned pcibraro May 22, 2013
pcibraro pushed a commit that referenced this issue May 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants