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

Add project for OpenWRT mdnsd CVE-2020-11750 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guidovranken
Copy link
Collaborator

TODO: Uses modified code from OpenWRT (GPLv2) and musl libc (MIT). Please suggest if I should include the licenses, annotate the source file, ...

@dbrumley
Copy link
Member

Nice job on the CVE and submission. Can you add to the PR changes to github actions (.github directory) to build this directory?

Copy link
Member

@dbrumley dbrumley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add in github action changes needed to build.

# OpenWRT mdns CVE-2020-11750

Three out-of-bounds access issues were found in OpenWRT's mdns. They were reported to the OpenWRT security address on April 9 2020, and a fix ([1](https://git.openwrt.org/?p=project/mdnsd.git;a=commit;h=e74a3f9883199e9db7220d52b78e5fbdb4441ca3), [2](https://git.openwrt.org/?p=project/mdnsd.git;a=commit;h=cdac0460ba50dc45735f0be2e19a5a8efc3dafe1)) was released soon after.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please edit to line length <80 chars
Please add link to https://openwrt.org/advisory/2020-05-06-1

We have included a proof of concept output under the `poc`
directory.

> Note: Fuzzing has some degree of non-determinism, so when you run
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy-paste bug. Please remove.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this whole section or just the reference to Oniguruma regex?

@@ -0,0 +1,369 @@
/* This is a modified version of:
* https://git.openwrt.org/?p=project/mdnsd.git;a=blob_plain;f=dns.c;hb=45c4953b602962ae7ff335d9a346000f00680952
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this is the GPL code. Just add to the comment the code is GPL'ed. Fine to add to the repo; there isn't any intellectual property here in the stand-alone binary created we'd be worried about.

openwrt-mdnsd-cve-2020-11750/src/fuzzer.c Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

2 participants