Skip to content
Misconfiguration Write-up Beginner

Default Credentials on Sony- Swag Time

Two Grafana instances on Sony's network were accessible with the default admin:admin credentials, allowing unauthorised access to the dashboards. The author found them by scanning Sony's IP ranges and testing default logins.

Arman Follow

Published on m7arm4n.medium.com

Hi Guys, Again I'm here to review another of my finding on the Sony program, This write-up is about how to automate process helps you find High or even critical vulnerability easier.

M7arm4n, on m7arm4n.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

Context

This write-up covers two findings on the Sony bug bounty program, which runs on HackerOne. The program's scope includes all Sony products, so the researcher's recon could start from any direction. The weakness in both cases is the same: login pages shipped with default credentials that were never changed, allowing access with a publicly known username and password such as admin:admin.

https://hackerone.com/sony
https://hackerone.com/sony From the original on m7arm4n.medium.com

The author frames the work around automation: the point of the article is that a repeatable pipeline for finding IPs, ports and login pages makes it easier to land high or even critical findings.

Setup

The researcher used a small set of public data sources and ProjectDiscovery tools:

  • bgpview.io and bgp.he.net to discover CIDRs and ASNs belonging to Sony.
  • mapcidr to convert CIDRs and ASNs into IP ranges.
  • A private tool, iptracker.py, to check the validity of DNS for the resulting IP addresses.
  • naabu for port scanning.
  • httpx for service discovery and fingerprinting.

No accounts or roles were needed on the target side; the whole approach is unauthenticated external recon. The author notes that the port scanning step was parallelised with Python to make it fast, and says that process is described in another write-up.

Finding it

The reasoning is straightforward. Default credentials are a class of vulnerability where software, hardware or systems are delivered to users without requiring them to set unique credentials, so the vendor's default username and password remain in place. Because those defaults are publicly known, anyone who reaches the login page can try them.

There is no single recipe for locating such pages: the author says the flow is unique to each target and can be built in unlimited variations to find an IP, a subdomain, a virtual host or a particular open port. After about three to four weeks of focusing on this class of bug, the researcher had found up to 20 login pages vulnerable to default credentials. This article describes the two found on Sony.

Exploitation

Step 1: discover CIDRs and ASNs

The starting point was BGP data. bgpview.io and bgp.he.net publish information about internet routing, including which address ranges and autonomous systems belong to which organisation, and tools for visualising routes and checking routing information. Working through them produced a long list of CIDRs and ASNs belonging to Sony.

Step 2: convert CIDRs and ASNs to IP ranges

Each entry in the list was piped through mapcidr to expand it into individual addresses:

Bash
for i in $(cat cidr-asn.txt) ; do echo "$i" | mapcidr -silent >> ip_list.txt ; done

The loop reads one CIDR or ASN per line from cidr-asn.txt, expands it with mapcidr -silent, and appends the output to ip_list.txt.

Step 3: check DNS validity of the addresses

After sorting the results, the researcher filtered the list down to addresses that actually resolve, using a private tool:

Bash
python iptracker.py -l ip_list.txt -o valid_ips.txt -silent -stats -t 50

This reads ip_list.txt, writes the valid addresses to valid_ips.txt, runs quietly, prints statistics and uses 50 threads.

Step 4: port scan

The author calls port scanning a favourite part of the process, noting that many hunters skip it because it takes time. The scan was run per host with naabu, over a very large explicit port list, excluding the ports most likely to be ordinary web traffic:

Bash
for sub in $(cat valid_ips.txt) ; do naabu -host $sub -p "1,3-4,6-7,9,13,17,19-26,30,32-33,37,42-43,49,53,70,79-85,88-90,99-100,106,109-111,113,119,125,135,139,143-144,146,161,163,179,199,211-212,222,254-256,259,264,280,301,306,311,340,366,389,406-407,416-417,425,427,443-445,458,464-465,481,497,500,512-515,524,541,543-545,548,554-555,563,587,593,616-617,625,631,636,646,648,666-668,683,687,691,700,705,711,714,720,722,726,749,765,777,783,787,800-801,808,843,873,880,888,898,900-903,911-912,981,987,990,992-993,995,999-1002,1007,1009-1011,1021-1100,1102,1104-1108,1110-1114,1117,1119,1121-1124,1126,1130-1132,1137-1138,1141,1145,1147-1149,1151-1152,1154,1163-1166,1169,1174-1175,1183,1185-1187,1192,1198-1199,1201,1213,1216-1218,1233-1234,1236,1244,1247-1248,1259,1271-1272,1277,1287,1296,1300-1301,1309-1311,1322,1328,1334,1352,1417,1433-1434,1443,1455,1461,1494,1500-1501,1503,1521,1524,1533,1556,1580,1583,1594,1600,1641,1658,1666,1687-1688,1700,1717-1721,1723,1755,1761,1782-1783,1801,1805,1812,1839-1840,1862-1864,1875,1900,1914,1935,1947,1971-1972,1974,1984,1998-2010,2013,2020-2022,2030,2033-2035,2038,2040-2043,2045-2049,2065,2068,2099-2100,2103,2105-2107,2111,2119,2121,2126,2135,2144,2160-2161,2170,2179,2190-2191,2196,2200,2222,2251,2260,2288,2301,2323,2366,2381-2383,2393-2394,2399,2401,2492,2500,2522,2525,2557,2601-2602,2604-2605,2607-2608,2638,2701-2702,2710,2717-2718,2725,2800,2809,2811,2869,2875,2909-2910,2920,2967-2968,2998,3000-3001,3003,3005-3007,3011,3013,3017,3030-3031,3052,3071,3077,3128,3168,3211,3221,3260-3261,3268-3269,3283,3300-3301,3306,3322-3325,3333,3351,3367,3369-3372,3389-3390,3404,3476,3493,3517,3527,3546,3551,3580,3659,3689-3690,3703,3737,3766,3784,3800-3801,3809,3814,3826-3828,3851,3869,3871,3878,3880,3889,3905,3914,3918,3920,3945,3971,3986,3995,3998,4000-4006,4045,4111,4125-4126,4129,4224,4242,4279,4321,4343,4443-4446,4449,4550,4567,4662,4848,4899-4900,4998,5000-5004,5009,5030,5033,5050-5051,5054,5060-5061,5080,5087,5100-5102,5120,5190,5200,5214,5221-5222,5225-5226,5269,5280,5298,5357,5405,5414,5431-5432,5440,5500,5510,5544,5550,5555,5560,5566,5631,5633,5666,5678-5679,5718,5730,5800-5802,5810-5811,5815,5822,5825,5850,5859,5862,5877,5900-5904,5906-5907,5910-5911,5915,5922,5925,5950,5952,5959-5963,5987-5989,5998-6007,6009,6025,6059,6100-6101,6106,6112,6123,6129,6156,6346,6389,6502,6510,6543,6547,6565-6567,6580,6646,6666-6669,6689,6692,6699,6779,6788-6789,6792,6839,6881,6901,6969,7000-7002,7004,7007,7019,7025,7070,7100,7103,7106,7200-7201,7402,7435,7443,7496,7512,7625,7627,7676,7741,7777-7778,7800,7911,7920-7921,7937-7938,7999-8002,8007-8011,8021-8022,8031,8042,8045,8080-8090,8093,8099-8100,8180-8181,8192-8194,8200,8222,8254,8290-8292,8300,8333,8383,8400,8402,8443,8500,8600,8649,8651-8652,8654,8701,8800,8873,8888,8899,8994,9000-9003,9009-9011,9040,9050,9071,9080-9081,9090-9091,9099-9103,9110-9111,9200,9207,9220,9290,9415,9418,9485,9500,9502-9503,9535,9575,9593-9595,9618,9666,9876-9878,9898,9900,9917,9929,9943-9944,9968,9998-10004,10009-10010,10012,10024-10025,10082,10180,10215,10243,10566,10616-10617,10621,10626,10628-10629,10778,11110-11111,11967,12000,12174,12265,12345,13456,13722,13782-13783,14000,14238,14441-14442,15000,15002-15004,15660,15742,16000-16001,16012,16016,16018,16080,16113,16992-16993,17877,17988,18040,18101,18988,19101,19283,19315,19350,19780,19801,19842,20000,20005,20031,20221-20222,20828,21571,22939,23502,24444,24800,25734-25735,26214,27000,27352-27353,27355-27356,27715,28201,30000,30718,30951,31038,31337,32768-32785,33354,33899,34571-34573,35500,38292,40193,40911,41511,42510,44176,44442-44443,44501,45100,48080,49152-49161,49163,49165,49167,49175-49176,49400,49999-50003,50006,50300,50389,50500,50636,50800,51103,51493,52673,52822,52848,52869,54045,54328,55055-55056,55555,55600,56737-56738,57294,57797,58080,60020,60443,61532,61900,62078,63331,64623,64680,65000,65129,65389" -exclude-ports 80,443,8443,21,25,22 -silent >> Portscan_result ; done

The loop iterates over every valid IP, runs naabu against that single host with the long explicit port list, excludes ports 80, 443, 8443, 21, 25 and 22, and appends the results to Portscan_result.

Step 5: service discovery

The port scan output was then fed to httpx to identify what is actually listening and what it looks like:

Bash
httpx -l Finall_result -nc  -sc -cl -title -random-agent -silent -tech-detect -follow-redirects >> httpx_new.txt

This reads the host list from Finall_result, disables colour output, records the status code and content length, grabs the page title, uses a random user agent, runs quietly, detects technologies and follows redirects, appending everything to httpx_new.txt. The status code, title and technology fingerprint are what make the output greppable by product.

Step 6: grep for the product and try the default credentials

The author recommends automating all of these steps except the first, which is better done manually. From httpx_new.txt, the researcher grepped for Grafana and got around three to four results. Each was opened in a browser and tested with the admin:admin credential pair. Two of them logged in successfully.

Reports were submitted immediately. Both were triaged after two days, and Sony resolved the vulnerabilities in around one week, awarding swag.

Root cause

Both Grafana instances still accepted the admin:admin credential pair. In other words, the deployments were never hardened after installation: the initial password was not changed, and nothing in front of the interface prevented the well-known pair from working. The report does not describe the deployment model or any additional controls, so the exact reason the defaults survived is not stated.

Impact

An unauthenticated attacker who can reach such a login page can sign in as an administrator using credentials that are publicly known, which the author describes as leading to data loss, theft or other negative consequences. In this case the access was to Grafana login pages.

Fix

Sony resolved both reports within about a week of triage. The report does not describe the specific remediation applied. The obvious fix, and the one implied by the vulnerability class, is to replace the default administrative password with a unique one before exposing the service, and to avoid exposing administrative interfaces such as Grafana to the internet where possible.

Variants to test

  1. Other fingerprintable admin products. Grep the httpx output for product names that ship with well-known default logins and test the documented default pair on each. A positive result is a successful login page redirect or dashboard load.
  2. Non-standard web ports. Keep excluding 80, 443 and 8443 in the port scan so that management interfaces on high ports surface. A positive result is an httpx entry with a title and technology fingerprint for an administrative product.
  3. Wider ASN and CIDR coverage. Expand the BGP-derived list with additional registries and check DNS validity before scanning, so that forgotten ranges are included. A positive result is new hosts appearing in the httpx output that were not in earlier runs.
  4. Automate the pipeline end to end. Chain mapcidr, the DNS validity check, naabu and httpx so that new ranges can be re-run cheaply. A positive result is a repeatable output file that can be grepped for any product of interest.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 15 min read.

What happened, in plain words

A security researcher spent a few weeks looking for one specific, very simple mistake: login pages that still accept the username and password the software ships with out of the box. Think of a new padlock that comes from the factory with the combination 0000 printed on the box. If the owner never changes it, anyone who reads the box can open the padlock. Software works the same way: many products create an administrator account with a well-known name and password on first install, and expect the owner to change it. When nobody does, and the login page is reachable from the internet, anyone can walk in.

The researcher found two such pages on Sony's systems, both belonging to a product called Grafana, and both still accepting the username admin with the password admin. He reported them through Sony's bug bounty programme on HackerOne, and Sony fixed them and sent him swag (company merchandise given as a reward).

https://hackerone.com/sony
https://hackerone.com/sony From the original on m7arm4n.medium.com

The image is a link to the Sony programme page on HackerOne, the platform where the reports were submitted.

The interesting part of the article is not the two logins themselves, but the repeatable process used to find them. The author's point is that if you build a pipeline that lists a company's internet addresses, checks which ones are alive, scans them for open doors, and then identifies what software is sitting behind each door, you can search for this class of bug at scale. That is how a beginner-level mistake turns into a high or even critical finding.

The vulnerability class: default credentials

A default credential vulnerability exists when software, hardware or a whole system is handed to a user without forcing them to create their own unique username and password. The vendor's factory settings stay in place. Because those factory settings are published in manuals and widely known, an attacker who can reach the login page can simply try them.

The author lists the possible consequences as unauthorised access to the system or application, which can lead to data loss, theft or other negative effects. In plain terms: if the login belongs to an administrative dashboard, the intruder sees and controls whatever that dashboard controls.

There is no single recipe for finding these pages. The author says the flow is unique to each target and can be built in unlimited variations to find an IP address, a subdomain, a virtual host or a particular open port. After about three to four weeks of focusing on this bug class, he had found up to 20 vulnerable login pages across his work. This article covers the two found on Sony.

The target and the starting point

The Sony bug bounty programme runs on HackerOne. Its scope includes all Sony products, which means the researcher could start his reconnaissance from anywhere: any address, any service, any product, as long as it belonged to Sony.

He began with BGP data. BGP (Border Gateway Protocol) is the protocol that internet networks use to tell each other which address ranges they are responsible for. Think of it as a postal service directory: it does not tell you who lives at each house, but it tells you which postal district belongs to which organisation. Two public websites, bgpview.io and bgp.he.net, publish this routing information, including tools to visualise routes and check routing details, plus information about internet service providers and IP addresses.

Working through those sites produced a long list of CIDRs and ASNs belonging to Sony. Two terms need explaining:

  • An ASN (Autonomous System Number) is a number that identifies a network an organisation controls. It is like a company's registration number for its part of the internet.
  • A CIDR is a compact way of writing a range of IP addresses, for example a block of consecutive addresses written as one entry. It is like writing "houses 1 to 100 on Main Street" instead of listing every house.

An IP address is the numeric address of a machine on the internet, the equivalent of a street address. A subdomain is a named subdivision of a domain, such as a department inside a company. A virtual host is a way for one server to answer for several different websites, like one reception desk handling several company names.

Step 1: turn the ranges into individual addresses

The first command expands every CIDR and ASN in the list into individual IP addresses, using a tool called mapcidr:

Bash
for i in $(cat cidr-asn.txt) ; do echo "$i" | mapcidr -silent >> ip_list.txt ; done

Line by line:

  1. for i in $(cat cidr-asn.txt) starts a loop. cat cidr-asn.txt prints the contents of the file holding the CIDRs and ASNs, one per line, and the loop takes each line in turn and stores it in a variable called i.
  2. echo "$i" prints that single entry back out.
  3. | mapcidr -silent pipes the entry into mapcidr, which expands it into the individual addresses it contains. -silent tells the tool to print only the results, without banners or extra noise.
  4. >> ip_list.txt appends the output to a file called ip_list.txt, so the file grows with every pass of the loop.
  5. ; done closes the loop.

Why this step: the BGP data gives you ranges, but every later tool works on single addresses, so the ranges have to be unpacked first.

Step 2: keep only addresses that actually resolve

After sorting the results, the researcher checked which addresses are actually live in DNS, using a private tool of his own:

Bash
python iptracker.py -l ip_list.txt -o valid_ips.txt -silent -stats -t 50

Line by line:

  1. python iptracker.py runs a Python script called iptracker.py.
  2. -l ip_list.txt tells it to read its input list from ip_list.txt.
  3. -o valid_ips.txt tells it to write the addresses that pass the check into valid_ips.txt.
  4. -silent keeps the output quiet.
  5. -stats asks it to print statistics about what it found.
  6. -t 50 sets 50 threads, meaning it works on 50 addresses at the same time instead of one after another.

Why this step: a long list of addresses contains many that no longer point at anything. Scanning dead addresses wastes time, so the list is trimmed to live ones first. DNS is the system that translates names into IP addresses, the internet's phone book.

Step 3: scan for open ports

A port is a numbered door on a machine. One server can run many services, and each listens on its own port number. A port scan means knocking on many doors in turn to see which ones answer.

The author calls port scanning his favourite part of the process and notes that many hunters skip it because it takes time. He ran the scan per host with naabu, over a very large explicit list of ports, while excluding the ports most likely to carry ordinary web traffic:

Bash
for sub in $(cat valid_ips.txt) ; do naabu -host $sub -p "1,3-4,6-7,9,13,17,19-26,30,32-33,37,42-43,49,53,70,79-85,88-90,99-100,106,109-111,113,119,125,135,139,143-144,146,161,163,179,199,211-212,222,254-256,259,264,280,301,306,311,340,366,389,406-407,416-417,425,427,443-445,458,464-465,481,497,500,512-515,524,541,543-545,548,554-555,563,587,593,616-617,625,631,636,646,648,666-668,683,687,691,700,705,711,714,720,722,726,749,765,777,783,787,800-801,808,843,873,880,888,898,900-903,911-912,981,987,990,992-993,995,999-1002,1007,1009-1011,1021-1100,1102,1104-1108,1110-1114,1117,1119,1121-1124,1126,1130-1132,1137-1138,1141,1145,1147-1149,1151-1152,1154,1163-1166,1169,1174-1175,1183,1185-1187,1192,1198-1199,1201,1213,1216-1218,1233-1234,1236,1244,1247-1248,1259,1271-1272,1277,1287,1296,1300-1301,1309-1311,1322,1328,1334,1352,1417,1433-1434,1443,1455,1461,1494,1500-1501,1503,1521,1524,1533,1556,1580,1583,1594,1600,1641,1658,1666,1687-1688,1700,1717-1721,1723,1755,1761,1782-1783,1801,1805,1812,1839-1840,1862-1864,1875,1900,1914,1935,1947,1971-1972,1974,1984,1998-2010,2013,2020-2022,2030,2033-2035,2038,2040-2043,2045-2049,2065,2068,2099-2100,2103,2105-2107,2111,2119,2121,2126,2135,2144,2160-2161,2170,2179,2190-2191,2196,2200,2222,2251,2260,2288,2301,2323,2366,2381-2383,2393-2394,2399,2401,2492,2500,2522,2525,2557,2601-2602,2604-2605,2607-2608,2638,2701-2702,2710,2717-2718,2725,2800,2809,2811,2869,2875,2909-2910,2920,2967-2968,2998,3000-3001,3003,3005-3007,3011,3013,3017,3030-3031,3052,3071,3077,3128,3168,3211,3221,3260-3261,3268-3269,3283,3300-3301,3306,3322-3325,3333,3351,3367,3369-3372,3389-3390,3404,3476,3493,3517,3527,3546,3551,3580,3659,3689-3690,3703,3737,3766,3784,3800-3801,3809,3814,3826-3828,3851,3869,3871,3878,3880,3889,3905,3914,3918,3920,3945,3971,3986,3995,3998,4000-4006,4045,4111,4125-4126,4129,4224,4242,4279,4321,4343,4443-4446,4449,4550,4567,4662,4848,4899-4900,4998,5000-5004,5009,5030,5033,5050-5051,5054,5060-5061,5080,5087,5100-5102,5120,5190,5200,5214,5221-5222,5225-5226,5269,5280,5298,5357,5405,5414,5431-5432,5440,5500,5510,5544,5550,5555,5560,5566,5631,5633,5666,5678-5679,5718,5730,5800-5802,5810-5811,5815,5822,5825,5850,5859,5862,5877,5900-5904,5906-5907,5910-5911,5915,5922,5925,5950,5952,5959-5963,5987-5989,5998-6007,6009,6025,6059,6100-6101,6106,6112,6123,6129,6156,6346,6389,6502,6510,6543,6547,6565-6567,6580,6646,6666-6669,6689,6692,6699,6779,6788-6789,6792,6839,6881,6901,6969,7000-7002,7004,7007,7019,7025,7070,7100,7103,7106,7200-7201,7402,7435,7443,7496,7512,7625,7627,7676,7741,7777-7778,7800,7911,7920-7921,7937-7938,7999-8002,8007-8011,8021-8022,8031,8042,8045,8080-8090,8093,8099-8100,8180-8181,8192-8194,8200,8222,8254,8290-8292,8300,8333,8383,8400,8402,8443,8500,8600,8649,8651-8652,8654,8701,8800,8873,8888,8899,8994,9000-9003,9009-9011,9040,9050,9071,9080-9081,9090-9091,9099-9103,9110-9111,9200,9207,9220,9290,9415,9418,9485,9500,9502-9503,9535,9575,9593-9595,9618,9666,9876-9878,9898,9900,9917,9929,9943-9944,9968,9998-10004,10009-10010,10012,10024-10025,10082,10180,10215,10243,10566,10616-10617,10621,10626,10628-10629,10778,11110-11111,11967,12000,12174,12265,12345,13456,13722,13782-13783,14000,14238,14441-14442,15000,15002-15004,15660,15742,16000-16001,16012,16016,16018,16080,16113,16992-16993,17877,17988,18040,18101,18988,19101,19283,19315,19350,19780,19801,19842,20000,20005,20031,20221-20222,20828,21571,22939,23502,24444,24800,25734-25735,26214,27000,27352-27353,27355-27356,27715,28201,30000,30718,30951,31038,31337,32768-32785,33354,33899,34571-34573,35500,38292,40193,40911,41511,42510,44176,44442-44443,44501,45100,48080,49152-49161,49163,49165,49167,49175-49176,49400,49999-50003,50006,50300,50389,50500,50636,50800,51103,51493,52673,52822,52848,52869,54045,54328,55055-55056,55555,55600,56737-56738,57294,57797,58080,60020,60443,61532,61900,62078,63331,64623,64680,65000,65129,65389" -exclude-ports 80,443,8443,21,25,22 -silent >> Portscan_result ; done

Line by line:

  1. for sub in $(cat valid_ips.txt) loops over every valid address in valid_ips.txt, one at a time, storing each in a variable called sub.
  2. naabu -host $sub runs naabu against that single address.
  3. -p "..." supplies the long list of port numbers to try. Commas separate entries and hyphens mean a range, so 1,3-4 means port 1 and ports 3 and 4.
  4. -exclude-ports 80,443,8443,21,25,22 tells naabu to skip those six ports. Ports 80 and 443 are the standard web ports, 8443 is a common alternative for secure web traffic, and 21, 25 and 22 are the usual ports for file transfer, mail and remote login.
  5. -silent keeps the output clean.
  6. >> Portscan_result appends the findings to a file called Portscan_result.
  7. ; done closes the loop.

The author also notes that he parallelised this step with Python to make it fast, and says that process is described in another write-up.

Step 4: identify what is behind each open port

The port scan tells you a door is open, not what is behind it. Service discovery means asking each open door what it is. The researcher used httpx:

Bash
httpx -l Finall_result -nc  -sc -cl -title -random-agent -silent -tech-detect -follow-redirects >> httpx_new.txt

Line by line:

  1. httpx runs the tool.
  2. -l Finall_result reads the list of hosts to probe from a file called Finall_result.
  3. -nc disables colour in the output, which keeps the file clean for later searching.
  4. -sc records the HTTP status code, the three-digit number a web server returns to say how the request went.
  5. -cl records the content length, the size of the page returned.
  6. -title grabs the page title, the text shown in the browser tab.
  7. -random-agent sends a random user agent. A user agent is the string a browser sends to identify itself; randomising it makes the requests look less like a single automated tool.
  8. -silent keeps the output quiet.
  9. -tech-detect tries to identify which technologies and products the page is built with.
  10. -follow-redirects follows redirects, so if a page forwards you elsewhere, httpx follows it and reports the final destination.
  11. >> httpx_new.txt appends everything to httpx_new.txt.

Why this step: the status code, page title and technology fingerprint are what make the output searchable by product name. Instead of opening hundreds of pages by hand, you end up with one text file you can search.

Step 5: search for the product and try the default login

The author recommends automating all of these steps except the first, which he says is better done manually.

From httpx_new.txt, the researcher searched for Grafana and got around three to four results. Grafana is a monitoring and dashboard product: it displays charts and data collected from other systems, and its login page is a well-known administrative interface.

He opened each result in a browser and tried the credential pair admin:admin, meaning the username admin and the password admin. Two of them logged in successfully.

Why this works: On these two instances, nobody had.

What happened next

Reports were submitted immediately. Both were triaged after two days, meaning the programme accepted and began working on them, and Sony resolved the vulnerabilities in around one week. The researcher received swag as a reward.

Why it mattered

Both Grafana instances still accepted the admin:admin credential pair. In other words, the deployments were never hardened after installation: the initial password was not changed, and nothing in front of the interface stopped the well-known pair from working. The report does not describe the deployment model or any additional controls, so the exact reason the defaults survived is not stated.

An unauthenticated attacker, meaning someone with no account at all, who can reach such a login page can sign in as an administrator using credentials that are publicly known. The author describes the possible consequences as data loss, theft or other negative effects. Here the access was to Grafana login pages.

The fix

Sony resolved both reports within about a week of triage. The report does not describe the specific remediation applied. The obvious fix, and the one implied by the vulnerability class, is to replace the default administrative password with a unique one before exposing the service, and to avoid exposing administrative interfaces such as Grafana to the internet where possible.

Variants to test

  1. Other fingerprintable admin products. Search the httpx output for product names that ship with well-known default logins and try the documented default pair on each. A positive result is a successful login page redirect or dashboard load.
  2. Non-standard web ports. Keep excluding 80, 443 and 8443 in the port scan so that management interfaces on high ports surface. A positive result is an httpx entry with a title and technology fingerprint for an administrative product.
  3. Wider ASN and CIDR coverage. Expand the BGP-derived list with additional registries and check DNS validity before scanning, so that forgotten ranges are included. A positive result is new hosts appearing in the httpx output that were not in earlier runs.
  4. Automate the pipeline end to end. Chain mapcidr, the DNS validity check, naabu and httpx so that new ranges can be re-run cheaply. A positive result is a repeatable output file that can be searched for any product of interest.

Glossary

  • ASN (Autonomous System Number): a number identifying a network that an organisation controls, like a registration number for its part of the internet.
  • BGP (Border Gateway Protocol): the protocol networks use to tell each other which address ranges they are responsible for.
  • Bug bounty programme: a scheme where an organisation invites outside researchers to report security problems, usually with a reward.
  • CIDR: a compact notation for a range of consecutive IP addresses.
  • Content length: the size of the page a web server returns.
  • Default credentials: the factory username and password a product ships with, which the owner is expected to change.
  • DNS (Domain Name System): the system that translates names into IP addresses, the internet's phone book.
  • Grafana: a monitoring and dashboard product that displays charts and data collected from other systems.
  • HackerOne: the platform where the Sony programme runs and where reports are submitted.
  • Hardening: the process of tightening a system's configuration after installation, for example by changing default passwords.
  • HTTP status code: the three-digit number a web server returns to say how a request went.
  • IP address: the numeric address of a machine on the internet.
  • Port: a numbered door on a machine, where a particular service listens.
  • Port scan: knocking on many ports in turn to see which ones answer.
  • Reconnaissance (recon): the information-gathering phase before testing, here finding addresses and services that belong to the target.
  • Redirect: a server response that sends the browser to a different address.
  • Scope: the set of assets a programme allows researchers to test.
  • Service discovery: identifying what software is running behind an open port.
  • Subdomain: a named subdivision of a domain, such as a department inside a company.
  • Swag: company merchandise given as a reward.
  • Thread: one unit of parallel work; running 50 threads means working on 50 items at once.
  • Triage: the stage where a programme reviews a report and decides to act on it.
  • Unauthenticated: acting without any account or login.
  • User agent: the string a browser or tool sends to identify itself to a server.
  • Virtual host: a way for one server to answer for several different websites.
  • Vulnerability class: a category of security bug, such as default credentials, rather than one specific instance.

More by Arman

View all

8 more disclosed reports, best first.

More from Sony

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.