__________________________________________________________
The U.S. Department of Energy
Computer Incident Advisory Capability
___ __ __ _ ___
/ | /_\ /
\___ __|__ / \ \___
__________________________________________________________
INFORMATION BULLETIN
Vulnerability in Adobe FrameMaker (fm_fls)
August 15, 1996 16:00 GMT Number G-37
______________________________________________________________________________
PROBLEM: A configuration problem has been reported in the floating
license server for Adobe FrameMaker (fm_fls).
PLATFORM: Any system running the following Adobe products that have a
setuid version of fm_fls:
Frame Products, version 4
FrameMaker
FrameViewer
FrameBuilder
Frame Products, version 5
FrameMaker
FrameMaker+SGML
DAMAGE: This vulnerability allows non-privileged users to make any
file world-readable and world-writable, thereby allowing root
access.
SOLUTION: Apply vendor patches when they become available and use the
workarounds listed in the bulletin below.
______________________________________________________________________________
VULNERABILITY This vulnerability is widely known. Exploitation scripts are
ASSESSMENT: publicly available. CIAC recommends that you apply these
patches as soon as possible.
______________________________________________________________________________
[Begin CERT Bulletin]
=============================================================================
CERT(sm) Advisory CA-96.18
August 14, 1996
Topic: Vulnerability in fm_fls
------------------------------------------------------------------------------
The CERT Coordination Center has received reports of a configuration problem
in the floating license server for Adobe FrameMaker (fm_fls) that enables
non-privileged users to make any file world-readable and world-writable.
Exploitation scripts are publicly available.
Any system that includes a setuid version of fm_fls is vulnerable.
Adobe Systems reports that the following Adobe products use fm_fls:
Frame Products, version 4
FrameMaker
FrameViewer
FrameBuilder
Frame Products, version 5
FrameMaker
FrameMaker+SGML
The CERT/CC team recommends installing a patch from your vendor. Until you
can obtain a patch, we urge you to remove the setuid bit from all instances
of fm_fls.
As we receive additional information relating to this advisory, we will
place it in
ftp://info.cert.org/pub/cert_advisories/CA-96.18.README
We encourage you to check our README files regularly for updates on
advisories that relate to your site.
------------------------------------------------------------------------------
I. Description
FrameMaker is a commercial text-processing software package
available from Adobe Systems, Inc. It is also available from other
vendors as part of their product line offering.
When FrameMaker versions 4.X or 5.X are installed, the installation
script provided with FrameMaker installs a file named fm_fls that is
setuid to installing user, typically the root user. fm_fls is typically
found in the FrameMaker installation tree. Consult your documentation
for precise location of fm_fls.
When fm_fls runs, it opens up a log file, which by default is
/tmp/fm_fls.log. In normal operation, fm_fls writes logging information
about license usage to the named log file. However, when given invalid
arguments, fm_fls writes these arguments to the log file, changes the
owner of the log file to root or whoever installed fm_fls, changes the
permissions to world-readable and world-writable, and then exits.
Therefore, by giving fm_fls invalid arguments and naming another file as
the log file, a user can make that file world-readable and world-writable.
Adobe Systems reports that fm_fls is installed as setuid root because
it registers the license manager program with the program number
mapper, also known as portmap or rpcbind. On some platforms, only the
original user (in this case root) or the root user has permission to
remove a registration. fm_fls will attempt to remove a previous
registration when it is restarted. With fm_fls setuid root, restarting
fm_fls ensures that all changes made in the program number mapper are
successful because they are done by the same user.
The floating license servers shipped with and installed by FrameMaker
4.X and 5.X are vulnerable. Similarly, any other system that includes
a setuid version of fm_fls is vulnerable. Exploitation scripts are
publicly available.
II. Impact
Anyone with access to an account on an unpatched system can create
world-writable and world-readable files; it is then easy to gain root
access.
III. Solution
Obtain and install a vendor patch when it becomes available.
In the meantime, remove the setuid bit from all instances of fm_fls.
To determine if a system is vulnerable and to disable the programs that
are believed to be vulnerable, use the find command we provide below or
a variant. Consult your local system documentation to determine how to
tailor the find program on your system.
You will need to run the find command on each system you maintain
because the command examines files on the local disk only. Substitute
the names of your local file systems for FILE_SYSTEM_NAMES in the
example. Example local file system names are /, /usr, and /var.
To find all instances of fm_fls and then to remove the setuid bit from
them, do the following as root. Note that this is one long command,
though we have separated it onto two lines using a back-slash.
find FILE_SYSTEM_NAMES -xdev -type f -name fm_fls -perm -04000 \
-print -ok chmod u-s '{}' \;
This command will find all files on a system that are
- only in the file system you name (FILE_SYSTEM_NAMES -xdev)
- regular files (-type f)
- named fm_fls
- setuid (-perm -04000)
Once found, those files will
- have their names printed (-print)
- have the setuid mode removed, but only if you type `y'
in response to the prompt (-ok chmod u-s '{}' \;)
With the setuid root bit removed, fm_fls must then be started each
time by the same user. That user should be root so that the previous
registration can be successfully removed no matter what platform
fm_fls is running on.
In addition, the log file, license.log, should be stored in a non-public
directory; specify this new location with the -log command line argument.
Consult the documentation that comes with FrameMaker versions 4.X and
5.X to learn how to do this on your system.
-----------------------------------------------------------------------------
The CERT Coordination Center staff thanks Adobe Systems for their support
in the development of this advisory.
-----------------------------------------------------------------------------
[End CERT Bulletin]
_______________________________________________________________________________
CIAC wishes to acknowledge the contributions of CERT and Adobe Systems for the
information contained in this bulletin.
_______________________________________________________________________________
CIAC, the Computer Incident Advisory Capability, is the computer
security incident response team for the U.S. Department of Energy
(DOE) and the emergency backup response team for the National
Institutes of Health (NIH). CIAC is located at the Lawrence Livermore
National Laboratory in Livermore, California. CIAC is also a founding
member of FIRST, the Forum of Incident Response and Security Teams, a
global organization established to foster cooperation and coordination
among computer security teams worldwide.
CIAC services are available to DOE, DOE contractors, and the NIH. CIAC
can be contacted at:
Voice: +1 510-422-8193
FAX: +1 510-423-8002
STU-III: +1 510-423-2604
E-mail: ciac@llnl.gov
For emergencies and off-hour assistance, DOE, DOE contractor sites,
and the NIH may contact CIAC 24-hours a day. During off hours (5PM -
8AM PST), call the CIAC voice number 510-422-8193 and leave a message,
or call 800-759-7243 (800-SKY-PAGE) to send a Sky Page. CIAC has two
Sky Page PIN numbers, the primary PIN number, 8550070, is for the CIAC
duty person, and the secondary PIN number, 8550074 is for the CIAC
Project Leader.
Previous CIAC notices, anti-virus software, and other information are
available from the CIAC Computer Security Archive.
World Wide Web: http://ciac.llnl.gov/
Anonymous FTP: ciac.llnl.gov (128.115.19.53)
Modem access: +1 (510) 423-4753 (28.8K baud)
+1 (510) 423-3331 (28.8K baud)
CIAC has several self-subscribing mailing lists for electronic
publications:
1. CIAC-BULLETIN for Advisories, highest priority - time critical
information and Bulletins, important computer security information;
2. CIAC-NOTES for Notes, a collection of computer security articles;
3. SPI-ANNOUNCE for official news about Security Profile Inspector
(SPI) software updates, new features, distribution and
availability;
4. SPI-NOTES, for discussion of problems and solutions regarding the
use of SPI products.
Our mailing lists are managed by a public domain software package
called ListProcessor, which ignores E-mail header subject lines. To
subscribe (add yourself) to one of our mailing lists, send the
following request as the E-mail message body, substituting
CIAC-BULLETIN, CIAC-NOTES, SPI-ANNOUNCE or SPI-NOTES for list-name and
valid information for LastName FirstName and PhoneNumber when sending
E-mail to ciac-listproc@llnl.gov:
subscribe list-name LastName, FirstName PhoneNumber
e.g., subscribe ciac-notes OHara, Scarlett W. 404-555-1212 x36
You will receive an acknowledgment containing address, initial PIN,
and information on how to change either of them, cancel your
subscription, or get help.
PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing
communities receive CIAC bulletins. If you are not part of these
communities, please contact your agency's response team to report
incidents. Your agency's team will coordinate with CIAC. The Forum of
Incident Response and Security Teams (FIRST) is a world-wide
organization. A list of FIRST member organizations and their
constituencies can be obtained by sending email to
docserver@first.org with an empty subject line and a message body
containing the line: send first-contacts.
This document was prepared as an account of work sponsored by an
agency of the United States Government. Neither the United States
Government nor the University of California nor any of their
employees, makes any warranty, express or implied, or assumes any
legal liability or responsibility for the accuracy, completeness, or
usefulness of any information, apparatus, product, or process
disclosed, or represents that its use would not infringe privately
owned rights. Reference herein to any specific commercial products,
process, or service by trade name, trademark, manufacturer, or
otherwise, does not necessarily constitute or imply its endorsement,
recommendation or favoring by the United States Government or the
University of California. The views and opinions of authors expressed
herein do not necessarily state or reflect those of the United States
Government or the University of California, and shall not be used for
advertising or product endorsement purposes.
LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC)
G-27: SCO Kernel Security Vulnerability
G-28A: suidperl Vulnerability
G-29: dip Program Vulnerability
G-30: DEC Software Security Kits
G-31: FreeBSD Security Vulnerabilities (ppp, rdist, and rz)
G-32: HP-UX Vulnerabilities in expreserve, rpc.pcnfsd, rpc.statd
G-33: rdist vulnerability
G-34: HP-UX Vulnerabilities (netttune, SAM remote admin)
G-35: SUN Microsystems Solaris vold Vulnerability
G-36: HP-UX Vulnerabilities in elm and rdist Programs
RECENT CIAC NOTES ISSUED (Previous Notes available from CIAC)
Notes 07 - 3/29/95 A comprehensive review of SATAN
Notes 08 - 4/4/95 A Courtney update
Notes 09 - 4/24/95 More on the "Good Times" virus urban legend
Notes 10 - 6/16/95 PKZ300B Trojan, Logdaemon/FreeBSD, vulnerability
in S/Key, EBOLA Virus Hoax, and Caibua Virus
Notes 11 - 7/31/95 Virus Update, Hats Off to Administrators,
America On-Line Virus Scare, SPI 3.2.2 Released,
The Die_Hard Virus
Notes 12 - 9/12/95 Securely configuring Public Telnet Services, X
Windows, beta release of Merlin, Microsoft Word
Macro Viruses, Allegations of Inappropriate Data
Collection in Win95
Notes 96-01 - 3/18/96 Java and JavaScript Vulnerabilities, FIRST
Conference Announcement, Security and Web Search
Engines, Microsoft Word Macro Virus Update
TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2025 AOH