Bug 1629975 (CVE-2018-16744)
| Summary: | CVE-2018-16744 mgetty: Command injection in faxrec.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Pedro Sampaio <psampaio> | ||||
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | unspecified | CC: | abhgupta, dbaker, jokerman, msekleta, rschiron, sthangav, trankin, zdohnal | ||||
| Target Milestone: | --- | Keywords: | Security | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | mgetty 1.2.1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-10-25 22:17:41 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: | 1629976, 1631238 | ||||||
| Bug Blocks: | 1629987 | ||||||
| Attachments: | 
 | ||||||
| 
        
          Description
        
        
          Pedro Sampaio
        
        
        
        
        
          2018-09-17 17:39:45 UTC
        
       Created mgetty tracking bugs for this issue: Affects: fedora-all [bug 1629976] Only root can write to /etc/mgetty+sendfax/mgetty.config and set the `notify` option which `mail_to` is set to when the program runs. Created attachment 1485085 [details]
upstream patch
This patch was extracted from mgetty-1.2.1
This flaw is very unlikely to be exploited since it requires the root account to set a wrong `notify` option. Mitigation: Make sure the `notify` option in /etc/mgetty+sendfax/mgetty.config does not contain characters that can be possibly interpreted by the shell and that the file is readable and writable only by root. mgetty-1.1.37-10.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. mgetty-1.1.37-11.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |