Recently, the theoretical and practical analysis of secure instant messenger protocols received much attention, but the focus of prior evaluations mostly lay in one-to-one communication. In this blog post we want to presents the results of our work that focuses on group chat protocols of three major instant messenger applications; namely Signal, WhatsApp, and Threema.
In this blog post, we aim to focus on the practical impact and the found weaknesses identified by our analysis. The interested reader may also look into our paper for more details.
Recent research on web security and related topics. Provided and maintained by members and friends of the Chair for Network and Data Security at the Ruhr University Bochum, Faculty of Electrical Engineering and Information Technology, Horst Görtz Institute for IT-Security.
Friday, July 28, 2017
Tuesday, July 4, 2017
CORS misconfigurations on a large scale
Inspired by James Kettle's great OWASP AppSec Europe talk on CORS misconfigurations, we decided to fiddle around with CORS security issues a bit. We were curious how many websites out there are actually vulnerable because of dynamically generated or misconfigured CORS headers.
The issue: CORS misconfiguration
Cross-Origin Resource Sharing (CORS) is a technique to punch holes into the Same-Origin Policy (SOP) – on purpose. It enables web servers to explicitly allow cross-site access to a certain resource by returning an Access-Control-Allow-Origin (ACAO) header. Sometimes, the value is even dynamically generated based on user-input such as the Origin header send by the browser. If misconfigured, an unintended website can access the resource. Furthermore, if the Access-Control-Allow-Credentials (ACAC) server header is set, an attacker can potentially leak sensitive information from a logged in user – which is almost as bad as XSS on the actual website. Below is a list of CORS misconfigurations which can potentially be exploited. For more technical details on the issues read the this fine blogpost.| Misconfiguation | Description |
|---|---|
| Developer backdoor | Insecure developer/debug origins like JSFiddler CodePen are allowed to access the resource |
| Origin reflection | The origin is simply echoed in ACAO header, any site is allowed to access the resource |
| Null misconfiguration | Any site is allowed access by forcing the null origin via a sandboxed iframe |
| Pre-domain wildcard | notdomain.com is allowed access, which can simply be registered by the attacker |
| Post-domain wildcard | domain.com.evil.com is allowed access, can be simply be set up by the attacker |
| Subdomains allowed | sub.domain.com allowed access, exploitable if the attacker finds XSS in any subdomain |
| Non-SSL sites allowed | An HTTP origin is allowed access to a HTTPS resource, allows MitM to break encryption |
| Invalid CORS header | Wrong use of wildcard or multiple origins,not a security problem but should be fixed |
Tuesday, June 13, 2017
New printers vulnerable to old languages
When we published our research on network printer security at the beginning of the year, one major point of criticism was that the tested printers models had been quite old. This is a legitimate argument. Most of the evaluated devices had been in use at our university for years and one may raise the question if new printers share the same weaknesses.
35 year old
The key point here is that we exploited PostScript and PJL interpreters. Both printer languages are ancient, de-facto standards and still supported by almost any laser printer out there. And as it seems, they are not going to disappear anytime soon. Recently, we got the chance to test a $2,799 HP PageWide Color Flow MFP 586 brand-new high-end printer. Like its various predecessors, the device was vulnerable to the following attacks:
35 year old bugs features
The key point here is that we exploited PostScript and PJL interpreters. Both printer languages are ancient, de-facto standards and still supported by almost any laser printer out there. And as it seems, they are not going to disappear anytime soon. Recently, we got the chance to test a $2,799 HP PageWide Color Flow MFP 586 brand-new high-end printer. Like its various predecessors, the device was vulnerable to the following attacks:Monday, January 30, 2017
Printer Security
Printers belong
arguably to the most common devices we use. They are available in
every household, office, company, governmental, medical, or education
institution.
From a security
point of view, these machines are quite interesting since they are
located in internal networks and have direct access to sensitive
information like confidential reports, contracts or patient recipes.
TL;DR: In this blog post we give an overview of attack scenarios based on network printers, and show the possibilities of an attacker who has access to a vulnerable printer. We present our evaluation of 20 different printer models and show that each of these is vulnerable to multiple attacks. We release an open-source tool that supported our analysis: PRinter Exploitation Toolkit (PRET) https://github.com/RUB-NDS/PRET
Full results are
available in the master thesis of Jens Müller and our paper.
Furthermore, we have
set up a wiki (http://hacking-printers.net/) to share knowledge on
printer (in)security.
The highlights of the entire survey will be presented by Jens Müller for the first time at RuhrSec in Bochum.
The highlights of the entire survey will be presented by Jens Müller for the first time at RuhrSec in Bochum.
Wednesday, January 25, 2017
PKCE: What can(not) be protected
This post is about PKCE [RFC7636], a protection mechanism for OAuth and OpenIDConnect designed for public clients to detect the authorization
code interception attack.
At the beginning of our research, we wrongly believed that PKCE protects mobile and native apps from
the so called „App Impersonation“ attacks. Considering our ideas
and after a short discussion with the authors of the PKCE
specification, we found out that PKCE does not address this issue.
In other words, the
protection of PKCE can be bypassed on public clients (mobile and
native apps) by using a maliciously acting app.
Thursday, September 29, 2016
Hacking PayPal's Express Checkout
Do
you know what is happening in the background when you buy something in an online
shop using PayPal?
In this post we will tackle the following problems:
- How can PayPal's API be tested?
- How does PayPal's Express Checkout work? You can find the detailed report here.
- How can we debit more money than authorized?
Friday, July 22, 2016
How to Break Microsoft Rights Management Services
In this post, we provide a security analysis of Microsoft Rights Management Services (RMS) and present two working attacks:
- We completely remove the RMS protection of a Word document on which we only have a view-only permission, without having the right to edit it. This shows that in contrast to claims made by Microsoft, Microsoft RMS can only be used to enforce all-or-nothing access.
- We extend this attack to be stealthy in the following sense: We show how to modify the content of an RMS write-protected Word document issued by our victim. The resulting document still claims to be write protected, and that the modified content was generated by the victim
Subscribe to:
Posts (Atom)
Beliebte Posts
-
When evaluating the security of XML based services, one should always consider DTD based attack vectors, such as XML External Entities (XXE)...
-
Printers belong arguably to the most common devices we use. They are available in every household, office, company, governmental, medic...
-
Inspired by James Kettle 's great OWASP AppSec Europe talk on CORS misconfigurations, we decided to fiddle around with CORS security i...
-
In this post, we provide a security analysis of Microsoft Rights Management Services (RMS) and present two working attacks: We complete...
-
One year ago, we received a contract as a PDF file. It was digitally signed. We looked at the document - ignoring the "certificate is n...
