News archive

CClab Kft. and Search-Lab Kft. merge to offer world-class security solutions to customers

Budapest, Hungary based IT security companies, CCLab Kft. and Search-Lab Kft. decided to merge by the end of 2019. By the aquisition, CCLab Kft. becomes one of the most important cyber security competence centers in Hungary and the CEE region. The acquisition was driven by the dynamic international growth of CCLab, its entry into new territories, and the competency of Search-Lab in evaluating IoT and embedded systems. The united organization will offer security assessment services of software, applications, embedded systems and IoT devices in its internationally accredited laboratories, and provide its customers independent cyber security and IT quality assurance services. By joining their efforts, CCLab and Search-Lab can provide world-class services to their clients working in telecommunications, automotive, electronics, and smart metering markets.

Analysis of WiFi-enabled ISP modems

SEARCH-LAB Security Evaluation Analysis and Research Laboratory executed security evaluations of several Wi-Fi enabled ISP modems operated among others within UPC and Liberty Global networks:

  • Ubee EVW3226, 1.0.20
  • Technicolor TC7200, STD6.02.11
  • Cisco EPC3925, ESIP-12-v302r125573-131230c_upc
  • Hitron CGNV4,
  • Compal CH7465LG-LC, CH7465LG-NCIP-

LG NAS N1A1 multiple vulnerabilities in Familycast

Access: unauthenticated remote access

Platforms / Firmware confirmed affected:

What is Familycast?

Familycast is a service running on top of the NAS. According to LG, Familycast is an: “LG SMART TV exclusive application which allows the user to easily access and share photos, music, videos and other data saved on the net hard with their family with the TV remote control from anywhere around the globe.”


Insufficient function level access control

Although Familycast requires login, most of the PHP scripts in the Familycast service under the /familycast/interface/php/ folder did not perform any session check. So, every file shared via this service can be accessible remotely and other vulnerabilities can be exploited without authentication.

SQL injection in profile request

User profiles, which contain various IDs and relationship type, are requested by the Familycast manager after login. To obtain the profile data a proc_type and an id parameter should be sent in a POST request. From these parameters the id parameter is used in an SQL statement without sanitization, so SQL injection is possible. By exploiting this SQL injection an attacker can obtain the user names and password hashes of the Familycast service.

Arbitrary file up and download with directory traversal

The Familycast service contained a hidden simple uploader, which provides an easy way to upload or download any files from its folder.  Using directory traversal any system file can be accessed using this service.

Sensitive information in log files

The NAS logs every event into the /var/tmp/ui_script.log file along with the event parameters. The login events are also inserted into this file with the used password hash. Since the NAS login (not the Familycast) requires to send the password hash, the parameter from the log file can be used to login to the NAS without reversing the password.


POC script is available to demonstrate the following problems [3]:

  • Insufficient function level access control
  • Arbitrary file up and download with directory traversal
  • SQL Injection in Familycast
  • Sensitive information in log files

Video demonstration is also available [1], which presents the above problems and how these can be combined to obtain admin access to the NAS.


Update the firmware to the latest version from We also highly recommend not exposing the web interface of LG N1A1 NAS devices to the internet.


This vulnerability was discovered and researched by Gergely Eberhardt from SEARCH-LAB Ltd. (




WPA Supplicant configuration file injection vulnerability

Internet of Things devices are supposed to be always connected to the Internet, meaning not just anytime-anywhere availability, but a continuous threat as well. As the Wi-Fi technology became part of everyday life with the protocol constantly evolving in the background. The open source project WPA Supplicant aims to cover the complete feature set of the various Wi-Fi standards and to offer an easy way to manage interface to integrators, therefore it became a popular choice for developers targeting embedded platforms.

Some unusual vulnerabilities in the PHP engine

A few months ago we noticed strange error messages in the access.log of the PHP FastCGI Process Manager (FPM) engine we used for running one of our sites.

Android ADB backup APK injection vulnerability

The Android operating system offers a backup/restore mechanism of installed packages through the ADB utility. Full backup of applications including the private files stored on /data partition is performed by default, but applications can customize this behaviour by implementing a BackupAgent class. This way they can feed the backup process with custom files and data.

Security vulnerability in LG’s Update Center application

SEARCH-LAB Ltd discovered another security issue threatening LG Smart Phone users: malicious attackers controlling the network are able to install arbitrary applications on victim handsets.

37 million digitally signed documents had to be reverified

In November 2014, SEARCH-LAB Ltd. discovered a security vulnerability in multiple computer applications that are used to generate and validate digital signatures, which are applied within the official Hungarian government processes. The vulnerability affected the „e-akta” signed document file format, where a file with a valid digital signature could be manipulated in a way that the verification software indicated a valid signature while it displayed a different document than the original.

More than fifty vulnerabilities discovered in D-Link NAS and NVR devices by SEARCH-LAB

SEARCH-LAB performed an independent security assessment on four different D-Link devices. The assessment has identified altogether 53 unique vulnerabilities in the latest firmware (dated 30-07-2014). Several vulnerabilities can be abused by a remote attacker to execute arbitrary code and gain full control over the devices. See the security advisory for the details.

Vulnerabilities discovered in the Android Open Source Project by SEARCH-LAB

SEARCH-LAB discovered several vulnerabilities in the Android Open Source Project end of last summer. They were responsible disclosed to the Android security team and now that the fixes are deployed, will be revelead for the public:

1. Android backup agent arbitrary code execution
The bindBackupAgent() method of the Android backup agent implementation was bound to an improper privilege, meaning shell user could call this function.
Combining this problem with a TOCTOU issue existing between PackageManager and ActivityManagerService, we successfully ran arbitrary code as the system user.

2. ADB backup archive path traversal file overwrite
The adb client can be used to create and restore backup archives. The archives are internally based on the TAR format popular in the Unix world.
SEARCH-LAB discovered that the restore implementation did not properly sanitize the filename fields coming from the TAR headers. By restoring a specially crafted ADB backup archive one could traverse the directory limitation and overwrite system files.
See the complete advisory for other requirements of this vulnerability.

3. MTP path traversal vulnerability in Android 4.4
The sever side implementation of MTP protocol running on the Android devices did not properly sanitize the filename field received in the MTP request.
By sending specially crafted MTP requests to the target Android device, one could traverse the intended directory restricion (eg. /sdcard) and upload files outside of it.

We also have one more vulnerability in this area, which we are going to publish on July 1, 2015 since Google still has not addressed it.