Remote code execution in PyBitmessage



Published: 2018-02-14
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-20
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Subscribe
PyBitmessage
Client/Desktop applications / Messaging software

Vendor Bitmessage

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) Remote code execution

EUVDB-ID: #VU10570

Risk: Critical

CVSSv3.1: 9.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to a message encoding bug. A remote attacker can send a specially crafted message, run an automated script looking in ~/.electrum/wallets, open a remote reverse shell, gain access to other files and execute arbitrary code.

Successful exploitation of the vulnerability results in system compromise.

Note: the vulnerability has been actively exploited to create a remote shell and steal bitcoins from Electrum wallets.

Mitigation

Update to version 0.6.3.2.

Vulnerable software versions

PyBitmessage: 0.6.2

External links

http://bitmessage.org/wiki/Main_Page
http://www.reddit.com/r/bitmessage/comments/7xaplc/in_case_you_didnt_notice_update_pybm_right_now/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###