exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Tuleap 9.6 Second-Order PHP Object Injection

Tuleap 9.6 Second-Order PHP Object Injection
Posted Oct 24, 2017
Authored by EgiX | Site karmainsecurity.com

Tuleap versions 9.6 and below suffer from a second order PHP object injection vulnerability.

tags | advisory, php
advisories | CVE-2017-7411
SHA-256 | 614615fd533a9914f7dae0fc5c046315ec0b6c9faa00541179463892e627fd24

Tuleap 9.6 Second-Order PHP Object Injection

Change Mirror Download
-------------------------------------------------------------
Tuleap <= 9.6 Second-Order PHP Object Injection Vulnerability
-------------------------------------------------------------


[-] Software Links:

https://www.tuleap.org
https://www.enalean.com


[-] Affected Versions:

All versions from 5.0 to 9.6.


[-] Vulnerability Description:

The vulnerable code can be triggered through the User::getRecentElements() method defined in /src/common/user/User.class.php:


1425. public function getRecentElements() {
1426. if ($recent_elements = $this->getPreference(self::PREFERENCE_RECENT_ELEMENTS)) {
1427. if ($recent_elements = unserialize($recent_elements)) {
1428. if (is_array($recent_elements)) {
1429. return $recent_elements;
1430. }
1431. }
1432. //somthing wrong happen. Delete the preference
1433. $this->delPreference(self::PREFERENCE_RECENT_ELEMENTS);
1434. }
1435. return array();
1436. }

The vulnerability exists because this method is using the unserialize() function with a value that can be arbitrarily manipulated by a user through
the REST API interface. This can be exploited to inject arbitrary PHP objects into the application scope, and could allow authenticated attackers to
execute arbitrary PHP code via specially crafted serialized objects. Successful exploitation of this vulnerability requires an user account with
permissions to create or access artifacts in a tracker.


[-] Solution:

Update to version 9.7 or later.


[-] Disclosure Timeline:

[03/04/2017] - Vendor notified
[03/04/2017] - Vendor acknowledgement
[03/04/2017] - Vendor submitted artifact: https://tuleap.net/plugins/tracker/?aid=10118
[03/04/2017] - CVE number requested
[03/04/2017] - CVE number assigned
[05/04/2017] - Vulnerability fixed on the git repository: https://goo.gl/X2AT4z
[26/04/2017] - Version 9.7 released
[23/10/2017] - Publication of this advisory


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2017-7411 to this vulnerability.


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2017-02


Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    27 Files
  • 13
    Aug 13th
    18 Files
  • 14
    Aug 14th
    50 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close