NATION

PASSWORD

Access Denied script errors [was: Intermittent Error 403]

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
SherpDaWerp
Admin
 
Posts: 2103
Founded: Mar 02, 2016
Benevolent Dictatorship

Access Denied script errors [was: Intermittent Error 403]

Postby SherpDaWerp » Thu Nov 07, 2024 11:14 pm

Apologies in advance (or in hindsight, for those of you who have already noticed).

We have noticed a fairly serious security hole in the website. We have no evidence that this security hole has ever been exploited, and it does not expose any user data in any event.

However, efforts to patch it may result in intermittent 403 errors until we figure out the best solution.

Thanks for your patience during this time.
Last edited by SherpDaWerp on Sat Nov 09, 2024 4:30 pm, edited 1 time in total.
NationStates Administrator

Statistical speculation from before 18/01/23 is entirely unofficial

User avatar
Beliras
Envoy
 
Posts: 315
Founded: Jun 29, 2021
Inoffensive Centrist Democracy

Postby Beliras » Thu Nov 07, 2024 11:16 pm

Thx for notifying me! You can just delete this comment and lock this thread if you don't want me to talk here, tho.
may I tell you to GTFO, ripple haters, it just looks realistic
I don't need no one-liner too
My location is OOC, just saying.
Yep, I'm a Troper too.
Sugendoa (Former)
Goikiva, aka Goiky
MV Feature Cruise (feature puppet)
Urine Town wrote:I know I shouldn’t double post, but yes, I was fucking ADDICTED to that show when I was 11-12
Great Kerguelen Islands wrote:like the level 1 of the the
nicknames
"naa nah na na na na naa nah na na na na naa nah na na na na naa nah na na na na naa nah sau say" - BELIRAS
Some IC info (take a look pls).
just a normal class 1.8 civ
Beliras's status: Online - at home (May be outdated)
PEACE FOR UKRAINE, RUSSIA, ISRAEL AND PALESTINE!

User avatar
Dimetrodon Empire
Senator
 
Posts: 3580
Founded: Sep 21, 2022
Scandinavian Liberal Paradise

Postby Dimetrodon Empire » Thu Nov 07, 2024 11:17 pm

Thank you for letting us know.
Proud Revolutionary Socialist. Bisexual. From the river to the sea, Palestine will be free!
████████████
████████████

George Orwell wrote:Every line of serious work that I have written since 1936 has been written, directly or indirectly, against totalitarianism and for democratic socialism, as I understand it.

Citizen & Watchdino of The Rejected Realms; Scout in the Rejected Realms Army (taking a temporary break)

User avatar
Star Federation
Secretary
 
Posts: 28
Founded: Sep 13, 2024
Inoffensive Centrist Democracy

Postby Star Federation » Thu Nov 07, 2024 11:18 pm

SherpDaWerp wrote:Apologies in advance (or in hindsight, for those of you who have already noticed).

We have noticed a fairly serious security hole in the website. We have no evidence that this security hole has ever been exploited, and it does not expose any user data in any event.

However, efforts to patch it may result in intermittent 403 errors until we figure out the best solution.

Thanks for your patience during this time.

Will these be serious or minor?
Delegate of Bozarkia
Proish-Defender
Generally don't care about politics and want to live my life

User avatar
Of The Revived Soviet Union
Bureaucrat
 
Posts: 50
Founded: Jun 21, 2024
Left-wing Utopia

Postby Of The Revived Soviet Union » Thu Nov 07, 2024 11:51 pm

Star Federation wrote:
SherpDaWerp wrote:Apologies in advance (or in hindsight, for those of you who have already noticed).

We have noticed a fairly serious security hole in the website. We have no evidence that this security hole has ever been exploited, and it does not expose any user data in any event.

However, efforts to patch it may result in intermittent 403 errors until we figure out the best solution.

Thanks for your patience during this time.

Will these be serious or minor?

Another issue - This is not limited to Error 403. Tons of leaderboard nations lead to a Page Not Found, the forum half the time will end up saying the board has no forums - I believe someone is trying to abuse it.

User avatar
Rylland
Diplomat
 
Posts: 724
Founded: May 26, 2024
New York Times Democracy

Postby Rylland » Thu Nov 07, 2024 11:53 pm

Thank you Sherp, i almost panic when the server hamster rebelled again.

User avatar
United Calanworie
Technical Moderator
 
Posts: 5010
Founded: Dec 12, 2018
Democratic Socialists

Postby United Calanworie » Fri Nov 08, 2024 12:04 am

Of The Revived Soviet Union wrote:
Star Federation wrote:Will these be serious or minor?

Another issue - This is not limited to Error 403. Tons of leaderboard nations lead to a Page Not Found, the forum half the time will end up saying the board has no forums - I believe someone is trying to abuse it.

We have seen no indications that somebody is trying to abuse it. We're just (painfully) trying to fix the bug.

User avatar
Of The Revived Soviet Union
Bureaucrat
 
Posts: 50
Founded: Jun 21, 2024
Left-wing Utopia

Postby Of The Revived Soviet Union » Fri Nov 08, 2024 12:06 am

United Calanworie wrote:
Of The Revived Soviet Union wrote:Another issue - This is not limited to Error 403. Tons of leaderboard nations lead to a Page Not Found, the forum half the time will end up saying the board has no forums - I believe someone is trying to abuse it.

We have seen no indications that somebody is trying to abuse it. We're just (painfully) trying to fix the bug.

Is there any way I can send over screenshots? I have quite a few screenshots of the forums breaking fully, random nations/regions not loading, etc.

User avatar
United Calanworie
Technical Moderator
 
Posts: 5010
Founded: Dec 12, 2018
Democratic Socialists

Postby United Calanworie » Fri Nov 08, 2024 12:08 am

I promise you that we do not need your screenshots.

User avatar
Shazbotdom
Postmaster-General
 
Posts: 11345
Founded: Sep 28, 2004
Anarchy

Postby Shazbotdom » Fri Nov 08, 2024 12:18 am

Gratzi for the heads-up.
FOOTBALL RECORDS
Tulane Green Wave (20) (9-3)
LSU Fighting Tigers (8-4)
New Orleans Saints (4-8-0)
NHL Records
Chicago Blackhawks (8-15-2 [18])
New York Rangers (13-10-1 [27])
Colorado Avalanche (14-12-0 [28])
Vice Admiral of The 11th Fleet - Spartan Vanguard (A Star Trek Based Organization)
ShazWeb || IIWiki || Discord: shazbertbot || 1 x NFL Picks League Champ (2021)
CosmoCast || SISA || CCD || CrawDaddy || SCIA || COPEC
Boudreaux's || CLS || SNC || ShazAir || BHC || TWO

User avatar
Republic of Libriano
Attaché
 
Posts: 85
Founded: Apr 21, 2020
Civil Rights Lovefest

Postby Republic of Libriano » Fri Nov 08, 2024 12:25 am

Thank you for the information. I hope you will be able to fix the bug soon.
She/Her/Hers
Christian Trans Lesbian
Living in Poland
Trans Rights Are Human Rights
Libbie, Libby, Libri, Lib
Welcome to Libriano!
A beautiful and naturally diverse Christian nation. We are a safe and accepting place for all. Come and visit us!
Librianese News: Humanitarian aid sent to Doslonsu / New election season has been anounced (RP) / Futurepop on rise in Libriano / Creation of The Primordial Alliance has been finished (RP)

User avatar
Skorpiie
Envoy
 
Posts: 222
Founded: Jul 27, 2024
Moralistic Democracy

Postby Skorpiie » Fri Nov 08, 2024 12:32 am

Thanks a lot! Lets hope it’s not gonna turn into something serious
The Federal Republic of Skorpiie
Death to the enemy, Long live the Republic
NS Stats are NOT canon

TRAT International
| Ministry of Foreign Affairs threatens Lemonstania with war |Flag Contest: Winner announced. Flag planned to be adopted today.| Upcoming Elections: Tensions rise as foreign politician enters election|Tirane: Tirane Metro Line 3 completed after 4 year wait.|
Current Flag:
S4 Ready Flag
28. November: Albanian Independence Day.
Flag changed to: Albania
8. September: Macedonian Independence Day
Flag changed to: Macedonia
28. February: Ramadan
Flag changed to: Arab Alternative Flag
24. December: Christmas Eve
Flag changed to: Christmas Flag

User avatar
Quebec and Shingoryeo
Minister
 
Posts: 2434
Founded: Aug 28, 2020
Inoffensive Centrist Democracy

Postby Quebec and Shingoryeo » Fri Nov 08, 2024 12:49 am

Thank you for letting us know!
Kingdom of Quebec & Shingoryeo
Olympic Council President (XVIII) - World Cup of Hockey Federation President (cycles 24-29, cycle 47-49) - NationStates College Football Commissioner (cycles 20-)
Trigramme: QUE | Denonym: Quebecois/Shingoryeoite (interchangeable) | Population: 94 million
MegaSport.que - The Wanderer's Guide To Somewhere
Have won many, hosted even more

International Basketball Championships 37-39 Champions
World Cup of Hockey XXVI Champions

User avatar
Panay Islands and Guimaras
Ambassador
 
Posts: 1187
Founded: Jun 02, 2024
Authoritarian Democracy

Postby Panay Islands and Guimaras » Fri Nov 08, 2024 12:49 am

Thanks, I hope nothing serious about that

User avatar
SherpDaWerp
Admin
 
Posts: 2103
Founded: Mar 02, 2016
Benevolent Dictatorship

Postby SherpDaWerp » Fri Nov 08, 2024 1:12 am

The issue has been fixed, so we are no longer fiddling. Please return to business as usual, and thanks again for bearing with us.

This thread has been locked, and will be unstickied in about an hour - if I remember.
Last edited by SherpDaWerp on Fri Nov 08, 2024 1:12 am, edited 1 time in total.
NationStates Administrator

Statistical speculation from before 18/01/23 is entirely unofficial

User avatar
Iznjiha
Political Columnist
 
Posts: 2
Founded: Feb 04, 2024
Anarchy

Postby Iznjiha » Sat Nov 09, 2024 10:02 am

SherpDaWerp wrote:The issue has been fixed, so we are no longer fiddling. Please return to business as usual, and thanks again for bearing with us.

This thread has been locked, and will be unstickied in about an hour - if I remember.

You haven't locked it Sherp. :blink:

User avatar
SherpDaWerp
Admin
 
Posts: 2103
Founded: Mar 02, 2016
Benevolent Dictatorship

Postby SherpDaWerp » Sat Nov 09, 2024 4:30 pm

Well I had, but I unlocked it shortly after unstickying, as I've heard reports that this fix may still be impacting some parts of the site, and wanted to make sure there was somewhere on-site to report it.

At this point, it looks like the fix is unintentionally enforcing that people make well-formed GET requests to our cgi endpoints (api.cgi, join_un.cgi, etc). Requests that split their parameters using / instead of ? and & are getting blocked. We are still debating whether this is worth fixing, or whether we will end up leaving it and requiring script developers to follow the web spec. The only promise we are making right now is that correctly-formatted GET requests (i.e. using ? and &) will always be supported, so if you want your script to work immediately and keep working into the future, make sure you're doing that.

If you don't know what that means, it doesn't affect you.
NationStates Administrator

Statistical speculation from before 18/01/23 is entirely unofficial

User avatar
Trotterdam
Postmaster-General
 
Posts: 10721
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sat Nov 09, 2024 11:17 pm

Huh. I know that the main site treats / similarly to ? and &, but it hadn't occurred to me that anyone might try doing the same thing on the API.

The API does allow the use of ; instead of &, which appears even in example queries on the documentation page. This appears to still work. (I've always wondered what the point of that is...)

User avatar
Areutia
Political Columnist
 
Posts: 3
Founded: Aug 04, 2022
Father Knows Best State

Postby Areutia » Sat Nov 09, 2024 11:25 pm

Ive noticed on more than one site that 403 errors can be resolved with continuous page refreshing, in most cases.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads