Exploit databaseDownload repository ZIP
GH-8c7f0e4b0e998904a1d6f7dcd99e3e7d
d-xuan/cve-2024-52510
Sources for CVE-2024-52510
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files14
d-xuan/cve-2024-52510Revision 6c0d89756ae0
- ↑..Parent directory
- BuildReminderIndexBackgroundJob.php
- CalendarRetentionJob.php
- CleanupDirectLinksJob.php
- CleanupInvitationTokenJob.php
- DeleteOutdatedSchedulingObjects.php
- EventReminderJob.php
- GenerateBirthdayCalendarBackgroundJob.php
- OutOfOfficeEventDispatcherJob.php
- PruneOutdatedSyncTokensJob.php
- RefreshWebcalJob.php
- RegisterRegenerateBirthdayCalendars.php
- UpdateCalendarResourcesRoomsBackgroundJob.php
- UploadCleanup.php
- UserStatusAutomation.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
apps/dav/lib/BackgroundJob/DeleteOutdatedSchedulingObjects.php
PHP · 924 bytes<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\DAV\BackgroundJob;
use OCA\DAV\CalDAV\CalDavBackend;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\TimedJob;
use Psr\Log\LoggerInterface;
class DeleteOutdatedSchedulingObjects extends TimedJob {
public function __construct(
private CalDavBackend $calDavBackend,
private LoggerInterface $logger,
ITimeFactory $timeFactory,
) {
parent::__construct($timeFactory);
$this->setInterval(23 * 60 * 60);
$this->setTimeSensitivity(self::TIME_INSENSITIVE);
}
/**
* @param array $argument
*/
protected function run($argument): void {
$time = $this->time->getTime() - (60 * 60);
$this->calDavBackend->deleteOutdatedSchedulingObjects($time, 50000);
$this->logger->info("Removed outdated scheduling objects");
}
}