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

Feature/vulndb #18492

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Feature/vulndb #18492

wants to merge 5 commits into from

Conversation

Q-back
Copy link
Collaborator

@Q-back Q-back commented Apr 6, 2020

Added vulndb_id according to specification from Holm Security. Also some Info instances were turned into Vuln instances with INFORMATION severity. My concept is to make vulndb_id param required in Vuln.__init__ while Info wouldn't require vulndb_id.

@Q-back Q-back requested a review from andresriancho April 6, 2020 11:01
self._http_response_ids,
self.get_name())
self.get_name(),
vulndb_id=10116)
Copy link
Owner

Choose a reason for hiding this comment

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

https://github.com/vulndb/data/search?q=10116&unscoped_q=10116

What happens when the ID is not present in the vulndb? Is this error handled somewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There's no error. I don't implement here the concept of making vulndb_id required for Vuln instances. I just mentioned the concept in description, because in this PR I prepare the code for this concept. I'll be able to implement it once #18543 is merged.

Copy link
Owner

Choose a reason for hiding this comment

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

My point is, when 10116 is passed to the Vuln instance, and then XML plugin tries to write that vuln instance to disk, what happens? Will it crash because 10116 is NOT in the vulndb?

10116 is Holm-specific, that is why I'm asking.

severity.LOW,
response.get_id(),
self.get_name(),
vulndb_id=10010,
Copy link
Owner

Choose a reason for hiding this comment

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

Would it be possible for Holm to contribute back to the vulndb? If we do that, all the w3af users would get these detailed descriptions for the vulnerabilities.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I brought up the discussion internally in Holm.

Copy link
Owner

Choose a reason for hiding this comment

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

And what was the resolution?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So far there's no decision to contribute to vulndb. Holm holds off

w3af/plugins/output/xml_file/finding.tpl Outdated 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