Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 14 Apr 2015 21:48:20 +0200
From: Andrew Shadura <>
Subject: CVE-2015-1864: Multiple HTML and Javascript injections


We have recently discovered a security issue in Kallithea [0].


Several vulnerabilities have been found in Kallithea, allowing
attackers to inject malicious code into the administration pages.


HTML and Javascript injection was possible in several places in the
Kallithea UI, allowing attackers to run malicious code.

User details (first name, last name) as well as repository, repository
group and user group descriptions were pasted unfiltered into the HTML
code, thus attacker could inject their code by setting their first name
to, for example:

    <img src="/images/kallithea-logo.svg" onload="alert('Hello,

This would display an alert every time users administration page. Used
against a user with administrator's access, this can expose sensitive

    <img src="/images/kallithea-logo.svg"
        a=new RegExp('[0-9a-z]{40}','g');alert('Your API key is:'+
        data.substr(, 40));});">


As the vulnerability allows attacker to execute arbitrary code in the
user's browser, it can be used to gain access to the user's account by
stealing user's credentials, like API keys. In the case the user also
has administrator rights, it is possible for the attacker to gain full
administrator access to the Kallithea instance.


Kallithea project has fixed this issue, and issued a patch and a bugfix

Users are recommended to apply the patch or to upgrade to the latest
0.2.1 release.

Affected versions

The issue is currenly present in Kallithea versions before 0.2.1.


Thanks to Nick High for reporting this issue.


[0] Kallithea Project

[1] CVE-2015-1864

[2] Kallithea: Security Notice CVE-2015-1864

[3] Patch for the issue

[4] Mercurial changeset fixing the issue

  Andrew Shadura
  on behalf of Kallithea Security Team

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.