An Allegheny County man made a startling discovery this week when he clicked a link to a county webpage for people impacted by COVID-19: He could easily access the names of thousands of residents who tested positive for the disease.

The glitch, made possible by simply manipulating a number in the URL link, divulged critical health information without permission — a violation of federal law.

The flaw was discovered Monday by the man, a software engineer with more than 20 years of experience who recently tested positive for COVID-19.

“I’m still just a little bit flabbergasted that 15,000 names were potentially accessible to people,” he said.

Advertise with us

The Pittsburgh Post-Gazette confirmed the flaw Tuesday by using the man’s personal isolation letter link and then easily finding the names of other people in the county system. The PG then contacted county spokeswoman Amie Downs, who said she would contact the county’s technical team to correct the problem.

The PG waited until the county fixed the issue to publish its findings. The county took down the notification system Tuesday, and Ms. Downs confirmed Thursday morning that the county had secured the information from public view.

“This has been corrected and is now updated with the fix,” Ms. Downs said Thursday in an email.

She said the county couldn’t immediately tell how many people accessed the system to look for names and contact information other than their own. She added that “this is by no means over — but as of right now, I can’t tell you how many visits there were.”

The county health department’s IT staff created the system in late July to send online COVID-19 isolation letters to residents who tested positive, Ms. Downs said.

Advertise with us

Because the system was set up in the summer, it does not include all of the more than 49,000 county residents who have tested positive, but it did leave the names of about 15,000 people potentially exposed.

“We’re grateful that the resident brought it to light,” Ms. Downs wrote, “but also wish that he or she would have reached out to us directly immediately so that we could have addressed this sooner.”

The man who discovered the flaw asked to remain anonymous because he did not want people to know his COVID-19 status. He reached out to the PG in part because he could not determine who at the county he should contact, he said.

He also said he contacted the newspaper because “people in the public should be aware this happened.” He worried that he might be accused of purposely trying to hack the county’s computer system, and “then I thought about calling the press because the best-case scenario is for someone to look into this who has a [legal] shield.”

On top of the headache and cold-like symptoms he has had for the past week, he said Tuesday that discovering the flaw in what should be a secure system “was the last bit of pain for me, realizing my COVID information is available for people with ill intent. I want it fixed and I want it fixed quickly.”

Advertise with us

After being told the county had made the system secure – something he noticed himself by checking online – the man said he was “very pleased with the response.”

The steps that led to his discovery began last week, when he and his preschool-age son drove to eastern Pennsylvania on Dec. 11 to visit his parents after a two-week quarantine.

Along the way, his son became car sick, the man said, and they stopped to use a bathroom along the Pennsylvania Turnpike. That’s where he believes he and his son became infected.

“That is the only place we were together in public,” he said.

His wife and daughter — who also isolated before the trip but did not travel with them — have tested negative.

Advertise with us

On Dec. 15, he and his son began showing symptoms of COVID-19, with a fever and cough. They got PCR tests on Dec. 18, but he was told it could take five to eight days to get results, so he had them get rapid tests Dec. 19 that came up positive.

On Monday, his wife got the call from the Allegheny County Health Department case-investigation team asking about him and his son. The man and his son then received online links with official isolation letters stemming from their positive tests.

Because of his work dealing with technology compliance issues, when he logged in to his isolation notice letter and then his son’s, the man noticed that their URL links ended with seven-digit numbers that were only a couple of digits off.

A URL is made up of words and coded numbers, letters and symbols that can be seen at the top of a computer page that identify the specific page.

Because the seven-digit number in the URL came after the code “QID=,” the man knew from experience it was likely he could access other people’s isolation letter links.

Advertise with us

“I wouldn’t have even noticed if I hadn’t seen [his son’s] QID number was so close to mine,” he said. “What this pretty quickly tells me is I can scrape the site and get a list of people who tested positive.”

He tried manipulating the number, changing the last digit, and he got a different name on the isolation letter login page every time. The PG was able to do that, as well.

“I was pretty furious that this was set up this way,” he said, “because I feel my privacy was violated.”

He said there are “a bunch of different ways” the county could have avoided the easy access, including the method the county ended up using.

Ms. Downs said the fix — in addition to setting up verification queries for a person’s exact name and birthday — was to change the system from a seven-digit number to a randomly assigned, 16-digit identifier that uses letters and numbers.

Advertise with us

The new system is much more secure, the man agreed. But he was still stunned.

“I’ve been in software getting paid to do work in the field since 1998, and I’ve seen some pretty crazy things happen, including poor choices made on deadline,” he said. “But when you’re dealing with health data, you’re not supposed to do that.”

Sean D. Hamill: shamill@post-gazette.com or 412-263-2579 or Twitter @SeanDHamill