Tinusha Savidya
Department of Motor Traffic

Ten Years Without an Update

Sri Lanka’s Department of Motor Traffic lost its website to a cyberattack on Nov. 21, four weeks after a researcher warned that dozens of state sites ran abandoned software.

On the night of Saturday, Nov. 21, the website of Sri Lanka’s Department of Motor Traffic went down in what the department called a cyberattack. Its online booking system kept working, and six days later a new site replaced the old one. A week on, nobody in government has said what kind of attack it was, who carried it out, or whether any data was touched.

The department’s head, retired Air Vice Marshal Thushara Indunil Fernando, Commissioner General of Motor Traffic since September, told Lankadeepa that the site was “an outdated one that had not been updated”. Sumudu Ratnayake, an adviser to the Ministry of Digital Economy, put a figure on it: about ten years without an update, according to Hiru News. Four weeks before the attack, a researcher had told the Prime Minister that dozens of state websites ran software their makers no longer fixed, and the government’s cyber agency had alerted 156 institutions to a critical flaw in PHP, the language most of those sites are written in.

The department, Sri Lanka CERT, the Sri Lanka Air Force, the Public Service Commission, the Information and Communication Technology Agency (ICTA) and GovTech did not respond to questions sent on Nov. 28.

What officials have said

The department’s notice, which Ada Derana carried at 11.21 a.m. on Nov. 22, said dmt.gov.lk had been “subjected to a cyber attack last night”, that bookings at dmtappointments.dmt.gov.lk were unaffected, and that the Narahenpita head office would open as usual. More than twenty outlets rewrote it. The appointment-only system announced on Nov. 19 started on schedule on Nov. 23.

Lankadeepa quoted Fernando as saying several pages were inaccessible and that the Air Force’s cyber security unit had identified the attack on the night of the 20th, a day earlier than every other account; it may be a slip, and the department hasn’t clarified it. Hiru News got an estimate of “about three more days” for repairs. Dinamina, the state-owned Sinhala daily, reported on Nov. 23 that several government websites were attacked that night, that the Air Force detected them first, and that the old site had been built by ICTA and run without updates. The only source that does is the description of a 70-second English clip on the Hiru News International YouTube channel, which lists the Public Service Commission’s portal as well. Hiru’s written coverage doesn’t mention the Commission, and the Commission hasn’t commented.

The repair took about six days, not three. On Nov. 27 Ada Derana quoted Fernando as saying the department’s “computer system” had been restored, a broader phrase than “website”. The department’s own notice that day, carried by IBC, spoke only of the official website and its downloadable forms. According to Hiru, the Air Force cyber unit and Sri Lanka CERT are investigating together. Neither has said so itself.

What the old site was

Archived copies show that dmt.gov.lk ran Joomla 3, an open-source content-management system written in PHP. Joomla 3 reached its end of life on Aug. 17, 2023, and paid extended support ended on Feb. 17, 2025. By the night of the attack the site’s core software had gone 1,192 days without official security fixes. The server didn’t disclose its PHP version. Joomla recommended PHP 8.0 for the 3.x series, and every PHP branch up to 8.1 is now unsupported too.

The old server sent the same block of security headers twice, an unusual quirk. Websites on the Lanka Government Cloud, the shared hosting ICTA runs for state bodies, send the same duplicated block today. That suggests the DMT site was hosted there, which would strengthen  Dinamina’s report that ICTA built it. It is an inference from configuration; ICTA hasn’t confirmed it.

The replacement is a different kind of site: a single-page JavaScript application served through Cloudflare. as of writing this, its files were last changed at 1.25 a.m. on Nov. 27.

Attack Timeline

Timeline from Oct. 17 to Nov. 27, 2026. Oct. 17: first known attempt to exploit two new PHP flaws. Oct. 21: PHP releases fixes for PHP2Shell and Sri Lanka CERT issues an advisory. Oct. 24: a researcher tells the Prime Minister 80 state sites run vulnerable PHP. Oct. 26: the US agency CISA lists both flaws as exploited. Oct. 29–30 and Nov. 2–3: police copy the DMT’s registration database under court order. Nov. 16: the Deputy Minister says CERT can’t compel fixes and 17 of 37 critical institutions are connected to the monitoring centre. Nov. 21: the DMT website is attacked at night, the day Parliament began the budget’s committee stage. Nov. 22: the department says bookings are unaffected and its head calls the site outdated. Nov. 27: a new site goes live.

The warning

On Oct. 21, PHP released fixes for two flaws in the language itself, CVE-2026-109618 and CVE-2026-109619, soon nicknamed PHP2Shell. Both are use-after-free bugs in how PHP cleans up after a request: one is reached by pushing a request into an out-of-memory error, the other through stale state left behind for the next request on the same worker. Either lets an attacker with no login run code on the server. PHP’s security team rated both 9.2 out of 10.

Exploitation started before the fixes did. Amazon saw an attempt on Oct. 17. In the first 48 hours Zscaler logged 1,156 attempts from 156 addresses, some trying to plant a PHP web shell, and F5 Labs found about 98% of the traffic aimed at the second flaw. The US Cybersecurity and Infrastructure Security Agency listed both as exploited on Oct. 26. The researchers who found the bugs had confirmed working attacks on Joomla among other applications, Tenable reported. Only PHP 8.2 and later got fixed releases. Versions 7.4 to 8.1 got source patches that each server’s owner must compile; older versions, which watchTowr confirmed are also vulnerable, got nothing.

Between Oct. 22 and 24, Dr. Sanjana Hattotuwa checked state websites that show their software version and found 80 running vulnerable PHP, 61 of them on versions “so old that the makers stopped fixing them years ago”. He wrote to Prime Minister Harini Amarasuriya on Oct. 24 and sent a technical report to GovTech and Sri Lanka CERT two days later. The DMT isn’t on his public list, and couldn’t have been: its server hid its PHP version.

GovTech, the Treasury-owned company that runs digital public services, told the Sunday Times it had started patching its own infrastructure on Oct. 22, and that institutions hosting their own sites had to secure them. Sri Lanka CERT told institutions that could not patch to take their websites offline.

On Nov. 16 the Deputy Minister of Digital Economy, Eranga Weeraratne, told Parliament that 156 institutions had been alerted about PHP, and that 17 of the 37 critical institutions due for round-the-clock monitoring were connected to the national operations centre. The DMT was named among the 37 when the centre opened in September 2025. He did not name it among the 17. CERT, in The Island’s account of his remarks, “currently lacked the legal authority to compel institutions to comply with its recommendations”. Hattotuwa replied in the Daily FT: “Almost everything the Deputy Minister described was activity or intention.”

How it probably happened

No security company has written about the attack, and no group has claimed it. Nothing about the DMT appears on ransomware leak sites, on public scanning services, or in the defacement archives that could be checked. The Wayback Machine holds no copy of the site between Oct. 11 and the rebuild. What follows is an assessment of the public facts, not a finding.

Those facts point most strongly to a break-in through a known flaw, followed by defacement or a planted web shell. The software was unsupported, and mass exploitation of PHP had been under way for a month. Several sites reportedly fell on the same night, which looks more like a sweep. And the department rebuilt the site rather than repairing it, which is what responders do when they no longer trust a server. A defacement alone would also fit: Sri Lanka CERT described June’s attack on the Railways website as “a website defacement attack”. A denial-of-service flood fits poorly, since nobody rebuilds a site to stop one. Ransomware fits worse still: there is no listing, and no reported disruption to services.

PHP2Shell is the obvious way in, but not the only one. In June a flaw in the JCE editor, one of the most widely installed Joomla extensions, let anyone upload and run PHP without logging in. It was rated 10 out of 10 (CVE-2026-48907) and listed as exploited by CISA on June 16. An archived copy shows JCE on dmt.gov.lk in 2023; whether it was still there this year can’t be seen from outside. Stolen or guessed administrator passwords would work on any version.

In MITRE ATT&CK, investigators would be looking for exploitation of a public-facing application (T1190), a web shell (T1505.003) and external defacement (T1491.002), and ruling out valid accounts (T1078) or access through the site’s developer or host (T1199). No malware has been identified. The evidence may also be gone. Google Cloud’s guidance on PHP2Shell, cited by Tenable, says to capture the memory of PHP processes before restarting a probed server, because a restart erases the traces. The department hasn’t said whether it kept an image of the old server.

The seven stages of Lockheed Martin’s cyber kill chain, marked by whether public evidence exists for the DMT attack as of Nov. 28. Some evidence: 1, reconnaissance (worldwide scanning for PHP2Shell from Oct. 21, nothing specific to the DMT); 2, weaponisation (public exploit code exists for PHP2Shell and for a Joomla editor flaw; which, if any, was used is unknown); 7, actions on objectives (pages inaccessible from Nov. 21, site replaced Nov. 27, whether data was touched not stated). None published: 3, delivery; 4, exploitation; 5, installation (no malware or web shell reported); 6, command and control.
Four of the seven stages have no public evidence at all.

The database next door

The DMT keeps the national vehicle register, which is under criminal investigation over records allegedly altered to register vehicles illegally. A former Commissioner General, Nishantha Anuruddha Weerasinghe, was remanded in July 2025, when the bribery commission told a court 177 vehicles were under suspicion. His successor, Kamal Amarasinghe, was arrested by the CID on March 27, accused of helping register a cab by altering its chassis number, and bailed on April 20. Neither has been convicted. On Oct. 29 a police anti-corruption team, with university experts and Sri Lanka CERT, took over the department’s server room under a magistrate’s order. Lanka Cyber News reported that they copied the whole database onto one hard drive; Sri Lanka Mirror reported that they found a large amount of data deleted.

On Nov. 24 the website Lanka-e-News suggested, citing unnamed source(s), that an insider had attacked the site to disrupt that audit. It offered no evidence. The police copies predate the attack, the public website isn’t the register, and sabotage aimed at one department fits badly with reports of several sites hit at once. The department could settle the question by saying what the attackers reached.

A familiar pattern

In 2023, ransomware on the Lanka Government Cloud wiped three months of email from about 5,000 gov.lk accounts. ICTA’s chief executive at the time said an upgrade planned for 2021 had been held up by budget constraints, The Record reported. This year the Ministry of Public Security’s website had the state emblem defaced. The Treasury lost US$2.5 million in a payment fraud that the Digital Economy Ministry said was “not a system hack”. The Ministry of Public Administration’s site was attacked and its data offered for sale, and that ministry filed a complaint with the CID; no such complaint has been reported for the DMT. In June the new Sri Lanka Railways website, which falls under the same Transport Ministry as the DMT, lost its timetable section to an attack.

Bar chart of cyber incidents reported to Sri Lanka CERT each year: 621 in 2022, 408 in 2023, 4,347 in 2024, 3,284 in 2025 and 2,035 in 2026 from January to mid-November. A note says Lakmal Embuldeniya of the Digital Trust Alliance attributes part of the post-2023 rise to more disclosure rather than more attacks. Source: Deputy Minister Eranga Weeraratne in Parliament, Nov. 16, 2026, as reported by The Island.
Reported incidents to CERT rose more than tenfold in 2024.

The Wild West

No statute obliges a department to report a cyber incident or say what was lost. The breach-notification duty in the Personal Data Protection Act takes effect on Jan. 1, 2027, 41 days after the attack. The Cyber Security Bill, which would create an authority able to order audits and demand incident reports, is with the Attorney General in an unpublished third draft; Weeraratne expects it to pass in early 2027.

Meanwhile the state is moving more of itself online. Parliament began the committee stage of the 2027 budget on the morning of Nov. 21. The budget speech sets aside Rs. 700 million for a digital vehicle-registration and ownership-transfer system, and Rs. 1.5 billion for a digital demerit-points system linking the DMT to the police. In The Island, Chandra Embuldeniya argued that the Cyber Security Authority and privacy safeguards had to be working before government data was joined up, because “a data breach or systemic failure during the early rollout of Digital ID would undermine public trust and set the agenda back by years.”

By Nov. 23 the Ministry of Digital Economy had begun collecting information on government websites that have gone years without updates. Many, Ratnayake said, are still in use. The 20 critical institutions not yet connected to the national monitoring centre have until Dec. 31.


References

Ada Derana. (2026, March 28). More details on arrest of Commissioner General of Motor Traffic. https://adaderana.​lk/​news/​120354

Ada Derana. (2026, April 20). Commissioner General of Motor Traffic granted bail. https://adaderana.​lk/​news/​121468

Ada Derana. (2026, November 22). DMT website hit by cyberattack; appointments unaffected. https://adaderana.​lk/​news/​252075

Ada Derana. (2026, November 27). DMT computer system restored following cyberattack. https://adaderana.​lk/​news/​252366

Antoniuk, D. (2023, September 11). Sri Lankan government loses months of data following ransomware attack. The Record. https://therecord.​media/​sri-​lanka-​loses-​months-​of-​government-​data-​in-​ransomware-​attack

Daily FT. (2026, April 27). Digital Economy Ministry says $ 2.5 m Treasury breach not system hack. https://www.​ft.​lk/​front-​page/​Digital-​Economy-​Ministry-​says-​2-​5-​m-​Treasury-​breach-​not-​system-​hack/​44-​791129

Daily FT. (2026, June 17). Railways website bombarded with cyberattacks hours after launch: Minister. https://www.​ft.​lk/​news/​Railways-​website-​bombarded-​with-​cyberattacks-​hours-​after-​launch-​Minister/​56-​793411

Daily Mirror. (2026, November 13). Budget speech 2027. https://www.​dailymirror.​lk/​business/​Budget-​Speech-​2027/​215-​354830

Elladeniya, C., & Rajapaksha, N. (2026, November 23). RMV ඇතුළු රජයේ වෙබ් අඩවි කිහිපයකට සයිබර් ප්‍රහාර [Cyberattacks on several government websites including RMV]. Dinamina, pp. 1, 4.

Embuldeniya, C. (2026, November 15). Reformist blueprint for transformation, but revenue and delivery gaps threaten credibility. The Island. https://island.​lk/​reformist-​blueprint-​for-​transformation-​but-​revenue-​and-​delivery-​gaps-​threaten-​credibility/

Fellus, J., & Bitk. (2026, June 12). CVE-2026-48907: Unauthenticated RCE in the Joomla Content Editor extension. YesWeHack. https://www.​yeswehack.​com/​news/​rce-​joomla-​content-​editor-​extension

Hattotuwa, S. (2026a, October 24). Unpatched, and unsupported: The state of Sri Lanka’s government websites. https://sanjanah.​wordpress.​com/​2026/​10/​24/​unpatched-​and-​unsupported-​the-​state-​of-​sri-​lankas-​government-​websites/

Hattotuwa, S. (2026b, November 20). Activity without accountability: Sri Lanka’s problematic approach to cybersecurity. Daily FT. https://www.​ft.​lk/​columns/​Activity-​without-​accountability-​Sri-​Lanka-​s-​problematic-​approach-​to-​cybersecurity/​4-​800359

Hiru News. (2026, November 22). සයිබර් ප්‍රහාරයට ලක්වූ DMT වෙබ් අඩවිය යථා තත්ත්වයට පත්වීමට දින තුනක් ගතවන ලකුණු [DMT website hit by cyberattack likely to take three days to recover]. https://hirunews.​lk/​502274/​dmt-​website-​to-​take-​three-​days-​to-​recover-​from-​cyberattack

Hiru News International. (2026, November 22). Cyberattack targets several government websites, including official portals of the DMT and the Public Service Commission [Video]. YouTube. https://www.​youtube.​com/​watch?​v=​pjL2xbOlwrE

Hiru News Tamil. (2026, November 23). அரச இணையத்தளங்களின் பாதுகாப்பு மற்றும் புதுப்பிப்பு குறித்து தகவல்களைத் திரட்டும் பணிகள் ஆரம்பம் [Work begins to gather information on the security and updating of government websites]. https://hirunews.​lk/​tamil/​502353/​work-​begins-​to-​gather-​information-​on-​the-​security-​and-​updating-​of-​government-​websites

IBC Tamil. (2026, November 27). வழமைக்கு திரும்பிய மோட்டார் வாகனப் போக்குவரத்துத் திணைக்கள இணையத்தளம் [Department of Motor Traffic website back to normal]. https://ibctamil.​com/​article/​department-​of-​motor-​traffic-​website-​back-​to-​normal-​1795802173

Jayasekara, N. (2026, November 2). වංචා රැසක් සොයා වලානෙන් මෝටර් රථ ප්‍රවාහන දෙපාර්තමේන්තුවේ දත්ත විශ්ලේෂණය අරඹයි [Walana begins analysing DMT data in search of numerous frauds]. Lanka Cyber News. https://lankacybernews.​lk/​32408

Joomla! Project. (n.d.). Technical requirements. Retrieved November 28, 2026, from https://manual.​joomla.​org/​docs/​4.​4/​get-​started/​technical-​requirements/

Lankadeepa. (2026, November 22). මෝටර් රථ දෙපාර්තමේන්තුවේ වෙබ් අඩවියට සයිබර් ප්‍රහාරයක් [Cyberattack on the Motor Traffic Department website]. https://www.​lankadeepa.​lk/​latest_​news/​%​E0%​B6%​B8%​E0%​B7%​9D%​E0%​B6%​A7%​E0%​B6%​BB%​E0%​B7%​8A-​%​E0%​B6%​BB%​E0%​B6%​AE-​%​E0%​B6%​AF%​E0%​B7%​99%​E0%​B6%​B4%​E0%​B7%​8F%​E0%​B6%​BB%​E0%​B7%​8A%​E0%​B6%​AD%​E0%​B6%​B8%​E0%​B7%​9A%​E0%​B6%​B1%​E0%​B7%​8A%​E0%​B6%​AD%​E0%​B7%​94%​E0%​B7%​80%​E0%​B7%​9A-​%​E0%​B7%​80%​E0%​B7%​99%​E0%​B6%​B6%​E0%​B7%​8A-​%​E0%​B6%​85%​E0%​B6%​A9%​E0%​B7%​80%​E0%​B7%​92%​E0%​B6%​BA%​E0%​B6%​A7-​%​E0%​B7%​83%​E0%​B6%​BA%​E0%​B7%​92%​E0%​B6%​B6%​E0%​B6%​BB%​E0%​B7%​8A-​%​E0%​B6%​B4%​E0%​B7%​8A%​E2%​80%​8D%​E0%​B6%​BB%​E0%​B7%​84%​E0%​B7%​8F%​E0%​B6%​BB%​E0%​B6%​BA%​E0%​B6%​9A%​E0%​B7%​8A/​1-​700950

Lockheed Martin. (n.d.). Cyber Kill Chain®. Retrieved November 28, 2026, from https://www.​lockheedmartin.​com/​en-​us/​capabilities/​cyber/​cyber-​kill-​chain.​html

Metcalfe-Pearce, A. (2026, October 22). PHP2Shell exploitation attempts observed. F5 Labs. https://f5.​com/​labs/​articles/​php2shell-​exploitation-​attempts-​observed

MITRE. (n.d.-a). Defacement: External defacement, sub-technique T1491.002. MITRE ATT&CK. Retrieved November 28, 2026, from https://attack.​mitre.​org/​techniques/​T1491/​002/

MITRE. (n.d.-b). Exploit public-facing application, technique T1190. MITRE ATT&CK. Retrieved November 28, 2026, from https://attack.​mitre.​org/​techniques/​T1190/

MITRE. (n.d.-c). Server software component: Web shell, sub-technique T1505.003. MITRE ATT&CK. Retrieved November 28, 2026, from https://attack.​mitre.​org/​techniques/​T1505/​003/

MITRE. (n.d.-d). Trusted relationship, technique T1199. MITRE ATT&CK. Retrieved November 28, 2026, from https://attack.​mitre.​org/​techniques/​T1199/

MITRE. (n.d.-e). Valid accounts, technique T1078. MITRE ATT&CK. Retrieved November 28, 2026, from https://attack.​mitre.​org/​techniques/​T1078/

Nair, J. P. (2026, October 21). CVE-2026-109618 and CVE-2026-109619: PHP2Shell. Zscaler ThreatLabz. https://www.​zscaler.​com/​blogs/​security-​research/​cve-​2026-​109618-​and-​cve-​2026-​109619-​php-​vulnerable-​unauthenticated-​rce

National Institute of Standards and Technology. (2026). CVE-2026-109618. National Vulnerability Database. https://nvd.​nist.​gov/​vuln/​detail/​CVE-​2026-​109618

Newswire. (2026, April 24). Complaint lodged with CID over cyber-attack on Public Administration Ministry website. https://www.​newswire.​lk/​2026/​04/​24/​complaint-​lodged-​with-​cid-​over-​cyber%​E2%​80%​91attack-​on-​public-​administration-​ministry-​website/

Padmasiri, M. (2026, June 21). Outdated state-sector websites sitting ducks for cyberattacks; CERT calls for urgent updates. The Sunday Times. https://www.​sundaytimes.​lk/​260621/​news/​outdated-​state-​sector-​websites-​sitting-​ducks-​for-​cyberattacks-​cert-​calls-​for-​urgent-​updates-​646840.​html

Sri Lanka Mirror. (2026, November 2). Walana Unit to recover DMT’s deleted data. https://srilankamirror.​com/​news/​walana-​unit-​to-​recover-​dmts-​deleted-​data

Tenable Research Special Operations. (2026, October 21; updated October 28). php2shell (CVE-2026-109618, CVE-2026-109619): Frequently asked questions about critical PHP remote code execution vulnerabilities. Tenable. https://www.​tenable.​com/​blog/​php2shell-​cve-​2026-​109618-​cve-​2026-​109619-​frequently-​asked-​questions-​about-​critical-​php-​remote

The Island. (2026, November 17). Parliament warned of growing danger posed by hackers. https://island.​lk/​parliament-​warned-​of-​growing-​danger-​posed-​by-​hackers/

watchTowr. (2026, October 20; updated November 25). Frequently asked questions about PHP remote code execution (PHP2Shell CVE-2026-109618 & CVE-2026-109619). https://watchtowr.​com/​intelligence/​php-​cve-​2026-​109618-​faq/

Weerasinghe, T. (2026, October 25). PHP vulnerability exposes 85 government websites to cyber attacks. The Sunday Times. https://www.​sundaytimes.​lk/​261025/​news/​php-​vulnerability-​exposes-​85-​government-​websites-​to-​cyber-​attacks-​662062.​html

Tinusha Savidya