Bug 1045982 (CVE-2013-6890)
Summary: | CVE-2013-6890 denyhosts: remote denial of ssh service | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Ratul Gupta <ratulg> | ||||
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | unspecified | CC: | bugzilla, dennis, j | ||||
Target Milestone: | --- | Keywords: | Security | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-08-22 06:01:23 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1045983, 1045984 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Ratul Gupta
2013-12-23 06:39:01 UTC
Created denyhosts tracking bugs for this issue: Affects: fedora-all [bug 1045983] Affects: epel-all [bug 1045984] Created attachment 840691 [details]
Patch for this vulnerability.
This patch was attached by the reporter on the oss-sec post.
denyhosts-2.6-19.el6.1 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. denyhosts-2.6-5.el5.1 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. denyhosts-2.6-28.fc19.1 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. denyhosts-2.6-29.fc20.1 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. I recently found that denyhosts was not detecting *any* attacks on root.
This change in regex.py seems to guarantee that the regex will never be matched since those lines end with a port number and the word "ssh2" in my /var/log/secure file:
12c12
< FAILED_ENTRY_REGEX = re.compile(r"""Failed (?P<method>.*) for (?P<invalid>inva
lid user |illegal user )?(?P<user>.*?) .*from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3
}\.\d{1,3}\.\d{1,3})""")
---
> FAILED_ENTRY_REGEX = re.compile(r"""Failed (?P<method>\S*) for (?P<invalid>inv
alid user |illegal user )?(?P<user>.*) from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\
.\d{1,3}\.\d{1,3})$""")
Sorry if I'm not following protocol or soemthing; I'm a rather infrequent user of this site.
Rodney
|