Bug 160296
Summary: | No output from program when run from cgi-bin directory from command-line | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stuart Reynolds <stuart.reynolds> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-06-14 17:13:39 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: |
Description
Stuart Reynolds
2005-06-14 08:01:34 UTC
This is a problem in policy in FC3, which should be fixed in FC4. A workaround is to pipe to cat. Basically what is happening is the cgi script is transitioning to httpd_sys_script_t, which is not allowed to talk to the TTY. This is a security meassure to prevent the cgi script from fooling a user. In FC4 the transition should only happens from httpd_t not from unconfined_t. Policy allows for commincating with pipes so the script is allowed to write to the "cat" pipe and cat is running under unconfined_t so it has access to the TTY. Dan |